mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
turn off stack dump by default in production
This commit is contained in:
parent
eee9b6f874
commit
6bf2e8d7eb
@ -58,7 +58,7 @@ class ShowBase(DirectObject.DirectObject):
|
||||
__builtin__.__dev__ = config.GetBool('want-dev', 0)
|
||||
logStackDump = (config.GetBool('log-stack-dump', 0) or
|
||||
config.GetBool('client-log-stack-dump', 0))
|
||||
uploadStackDump = config.GetBool('upload-stack-dump', (not __dev__))
|
||||
uploadStackDump = config.GetBool('upload-stack-dump', 0)
|
||||
if logStackDump or uploadStackDump:
|
||||
ExceptionVarDump.install(logStackDump, uploadStackDump)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user