File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88 # Versions should comply with PEP440. For a discussion on single-sourcing
99 # the version across setup.py and the project code, see
1010 # https://packaging.python.org/en/latest/single_source_version.html
11- version = "0.0.2 " ,
11+ version = "0.0.3 " ,
1212 packages = [
1313 "sentry" ,
1414 "sentry.config" ,
Original file line number Diff line number Diff line change 44
55from .loggers .SentryQueueLogger import SentryQueryLogger
66from .listeners .SentryExceptionListener import SentryExceptionListener
7+ from masonite .environment import env
78
89
910class Sentry :
1011 def __init__ (self , application ) -> None :
1112 self .app = application
1213 self .sentry_config = config ("sentry" )
1314
14- # if not env("APP_DEBUG"):
15- # self.setup()
16- self .setup ()
15+ if not env ("APP_DEBUG" ):
16+ self .setup ()
1717
1818 def setup (self ):
1919 sentry_sdk .init (
You can’t perform that action at this time.
0 commit comments