Skip to content

Commit

Permalink
To make the error display more detailed using traceback.print_exc()
Browse files Browse the repository at this point in the history
  • Loading branch information
guili618 committed Aug 10, 2023
1 parent c7e0c16 commit 2aa4474
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion reverie/backend_server/reverie.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import math
import os
import shutil
import traceback

from selenium import webdriver

Expand Down Expand Up @@ -591,7 +592,8 @@ def open_server(self):

print (ret_str)

except:
except:
traceback.print_exc()
print ("Error.")
pass

Expand Down

0 comments on commit 2aa4474

Please sign in to comment.