Skip to content

Commit

Permalink
Comment env check
Browse files Browse the repository at this point in the history
  • Loading branch information
devdupont committed Oct 30, 2023
1 parent 2279a6e commit 16111c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avwx_api/app_config.py
Expand Up @@ -37,8 +37,8 @@
def init_rollbar():
"""Initialize Rollbar exception logging"""
key = environ.get("LOG_KEY")
if not (key and app.env == "production"):
return
# if not (key and app.env == "production"):
# return
rollbar.init(key, root="avwx_api", allow_logging_basic_config=False)
got_request_exception.connect(report_exception, app, weak=False)

Expand Down

0 comments on commit 16111c4

Please sign in to comment.