Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Trevor Cappallo
OperationalLogging
Commits
e298f645
Commit
e298f645
authored
Sep 01, 2015
by
Trevor Cappallo
Browse files
format tweak
parent
29851c94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/OperationalLogger.py
lib/OperationalLogger.py
+1
-1
No files found.
lib/OperationalLogger.py
View file @
e298f645
...
...
@@ -28,7 +28,7 @@ def __exit_handler(logger, notify):
# add the last uncaught exception that has occurred as an error, if present
try
:
tb_lines
=
traceback
.
format_exception
(
sys
.
last_type
,
sys
.
last_value
,
sys
.
last_traceback
)
tb_str
=
'
\n
'
.
join
([
'
\t
'
+
line
.
strip
()
for
line
in
tb_lines
])
tb_str
=
'
\n
'
.
join
([
(
' ::
'
+
line
.
strip
()
)
for
line
in
tb_lines
])
logging
.
critical
(
"Uncaught exception detected! Traceback follows:
\n
%s"
,
tb_str
)
except
AttributeError
:
pass
...
...
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