Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
6013f575
Commit
6013f575
authored
Mar 18, 2018
by
Lars Beckers
Browse files
Fix python3.5 compatibility
parent
bb2beb7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.py
View file @
6013f575
...
...
@@ -75,7 +75,7 @@ try:
"release"
:
get_git_revision
(),
}
sentry
.
get_user_info
=
get_user_info
except
ModuleNotFound
Error
:
except
Import
Error
:
print
(
"Raven not installed. Not sending issues to Sentry."
)
except
AttributeError
:
print
(
"DSN not configured. Not sending issues to Sentry."
)
...
...
@@ -91,7 +91,7 @@ def make_celery(app, config):
raven_client
=
RavenClient
(
config
.
SENTRY_DSN
)
register_logger_signal
(
raven_client
)
register_signal
(
raven_client
)
except
ModuleNotFound
Error
:
except
Import
Error
:
print
(
"Raven not installed. Not sending celery issues to Sentry."
)
except
AttributeError
:
print
(
"DSN not configured. Not sending celery issues to Sentry."
)
...
...
Lars Beckers
@larsb
mentioned in issue
#188
·
Mar 18, 2018
mentioned in issue
#188
mentioned in issue #188
Toggle commit list
Write
Preview
Supports
Markdown
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