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 8
8
# Versions should comply with PEP440. For a discussion on single-sourcing
9
9
# the version across setup.py and the project code, see
10
10
# https://packaging.python.org/en/latest/single_source_version.html
11
- version = "0.0.2 " ,
11
+ version = "0.0.3 " ,
12
12
packages = [
13
13
"sentry" ,
14
14
"sentry.config" ,
Original file line number Diff line number Diff line change 4
4
5
5
from .loggers .SentryQueueLogger import SentryQueryLogger
6
6
from .listeners .SentryExceptionListener import SentryExceptionListener
7
+ from masonite .environment import env
7
8
8
9
9
10
class Sentry :
10
11
def __init__ (self , application ) -> None :
11
12
self .app = application
12
13
self .sentry_config = config ("sentry" )
13
14
14
- # if not env("APP_DEBUG"):
15
- # self.setup()
16
- self .setup ()
15
+ if not env ("APP_DEBUG" ):
16
+ self .setup ()
17
17
18
18
def setup (self ):
19
19
sentry_sdk .init (
You can’t perform that action at this time.
0 commit comments