mirror of
https://github.com/ksherlock/prez.git
synced 2025-02-27 07:29:04 +00:00
cli - exception traceback
This commit is contained in:
parent
306e42e36e
commit
629f90bb04
2
cli.py
2
cli.py
@ -4,6 +4,7 @@ import io
|
|||||||
import argparse
|
import argparse
|
||||||
import time
|
import time
|
||||||
from open_rfork import open_rfork
|
from open_rfork import open_rfork
|
||||||
|
import traceback
|
||||||
|
|
||||||
from base import rObject
|
from base import rObject
|
||||||
|
|
||||||
@ -49,6 +50,7 @@ def execute(filename, scope):
|
|||||||
pass
|
pass
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
print(traceback.format_exc())
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user