File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,11 @@ class Client:
3232 """
3333
3434 def __init__ (self , configuration : Optional [Configuration ] = None ,
35- install_sys_hook = True , ** kwargs ):
35+ install_sys_hook = True , configure = True , ** kwargs ):
3636 self .configuration = configuration or Configuration () # type: Configuration # noqa: E501
3737 self .session_tracker = SessionTracker (self .configuration )
38- self .configuration .configure (** kwargs )
38+ if configure :
39+ self .configuration .configure (** kwargs )
3940 self ._context = ContextLocalState (self )
4041 self ._request_tracker = RequestTracker ()
4142
Original file line number Diff line number Diff line change 77from bugsnag .configuration import RequestConfiguration
88from bugsnag .client import Client
99
10- default_client = Client ()
10+ default_client = Client (configure = False )
1111configuration = default_client .configuration
1212logger = configuration .logger
1313ExcInfoType = Tuple [Type , Exception , types .TracebackType ]
You can’t perform that action at this time.
0 commit comments