Skip to content
Snippets Groups Projects
Verified Commit 43e38804 authored by Xavier Robin's avatar Xavier Robin
Browse files

Add comment for developers on how to restore tracebacks

parent 5dcaa323
No related branches found
No related tags found
No related merge requests found
......@@ -770,6 +770,8 @@ def _Main():
args = _ParseArgs()
ost.PushVerbosityLevel(args.verbosity)
if args.verbosity < 4:
# Hide tracebacks by default
# Run script with -v 4 (Verbose) or higher to display them
sys.tracebacklimit = 0
_CheckCompoundLib()
try:
......
......@@ -924,6 +924,8 @@ def _Main():
args = _ParseArgs()
ost.PushVerbosityLevel(args.verbosity)
if args.verbosity < 4:
# Hide tracebacks by default
# Run script with -v 4 (Verbose) or higher to display them
sys.tracebacklimit = 0
_CheckCompoundLib()
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment