Merge pull request #10 from guili618/my_dev
To make the error display more detailed using traceback.print_exc()
This commit is contained in:
commit
7373f4eb5d
@ -26,6 +26,7 @@ import time
|
|||||||
import math
|
import math
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
import traceback
|
||||||
|
|
||||||
from selenium import webdriver
|
from selenium import webdriver
|
||||||
|
|
||||||
@ -592,6 +593,7 @@ class ReverieServer:
|
|||||||
print (ret_str)
|
print (ret_str)
|
||||||
|
|
||||||
except:
|
except:
|
||||||
|
traceback.print_exc()
|
||||||
print ("Error.")
|
print ("Error.")
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user