Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
6b410098
Commit
6b410098
authored
Jun 24, 2015
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When aborting, flush log containing pre-mortem data
parent
93aef5ed
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
neo/admin/app.py
neo/admin/app.py
+1
-0
neo/master/app.py
neo/master/app.py
+1
-0
neo/storage/app.py
neo/storage/app.py
+1
-0
No files found.
neo/admin/app.py
View file @
6b410098
...
@@ -77,6 +77,7 @@ class Application(object):
...
@@ -77,6 +77,7 @@ class Application(object):
except
Exception
:
except
Exception
:
logging
.
exception
(
'Pre-mortem data:'
)
logging
.
exception
(
'Pre-mortem data:'
)
self
.
log
()
self
.
log
()
logging
.
flush
()
raise
raise
def
_run
(
self
):
def
_run
(
self
):
...
...
neo/master/app.py
View file @
6b410098
...
@@ -134,6 +134,7 @@ class Application(object):
...
@@ -134,6 +134,7 @@ class Application(object):
except
Exception
:
except
Exception
:
logging
.
exception
(
'Pre-mortem data:'
)
logging
.
exception
(
'Pre-mortem data:'
)
self
.
log
()
self
.
log
()
logging
.
flush
()
raise
raise
def
_run
(
self
):
def
_run
(
self
):
...
...
neo/storage/app.py
View file @
6b410098
...
@@ -167,6 +167,7 @@ class Application(object):
...
@@ -167,6 +167,7 @@ class Application(object):
except
Exception
:
except
Exception
:
logging
.
exception
(
'Pre-mortem data:'
)
logging
.
exception
(
'Pre-mortem data:'
)
self
.
log
()
self
.
log
()
logging
.
flush
()
raise
raise
def
_run
(
self
):
def
_run
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment