mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-21 00:19:42 +02:00
move verbose_debug under debug check
This commit is contained in:
@ -399,12 +399,13 @@ def main():
|
|||||||
break
|
break
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
if verbose_debug:
|
|
||||||
import cgitb
|
|
||||||
cgitb.enable(display=1, logdir=None, context=5, format="text")
|
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
|
if verbose_debug:
|
||||||
|
import cgitb
|
||||||
|
cgitb.enable(display=1, logdir=None, context=5, format="text")
|
||||||
|
|
||||||
raise
|
raise
|
||||||
|
|
||||||
else:
|
else:
|
||||||
jc.utils.error_message(
|
jc.utils.error_message(
|
||||||
f'{parser_name} parser could not parse the input data. Did you use the correct parser?\n For details use the -d option.')
|
f'{parser_name} parser could not parse the input data. Did you use the correct parser?\n For details use the -d option.')
|
||||||
|
Reference in New Issue
Block a user