Skip to content

Commit

Permalink
less noisy sentry and logstash
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyrss committed Jan 13, 2020
1 parent 44b1822 commit 9daa1e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nb2workflow/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from nb2workflow import logstash
logstasher = logstash.LogStasher()
except Exception as e:
print("unable to setup logstash",repr(e))
logging.debug("unable to setup logstash",repr(e))

logstasher = None

Expand All @@ -26,7 +26,7 @@
except ImportError:
sentry_sdk = None
except Exception as e:
print("big problem with sentry:",repr(e))
logging.debug("big problem with sentry:",repr(e))
sentry_sdk = None


Expand Down

0 comments on commit 9daa1e0

Please sign in to comment.