Skip to content

Commit a16e88a

Browse files
committed
better description on error when
verbose logging is not enabled.
1 parent 9db2b46 commit a16e88a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contentctl/contentctl.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,12 @@ def main():
226226
"The entire stack trace is provided below (please include it if filing a bug report).\n")
227227
traceback.print_exc()
228228
elif config.verbose:
229-
print("Verbose logging is enabled.\n"
229+
print("Verbose error logging is ENABLED.\n"
230230
"The entire stack trace has been provided below (please include it if filing a bug report):\n")
231231
traceback.print_exc()
232232
else:
233+
print("Verbose error logging is DISABLED.\n"
234+
"Please use the --verbose command line argument if you need more context for your error or file a bug report.")
233235
print(e)
234236

235237
sys.exit(1)

0 commit comments

Comments
 (0)