From 2aa4474095371ae03f80e889b170b5a8cfd0cc4a Mon Sep 17 00:00:00 2001 From: guiaixiao <824541050@qq.com> Date: Thu, 10 Aug 2023 14:37:44 +0800 Subject: [PATCH] To make the error display more detailed using traceback.print_exc() --- reverie/backend_server/reverie.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reverie/backend_server/reverie.py b/reverie/backend_server/reverie.py index a4cf4e5287..2d753d1029 100644 --- a/reverie/backend_server/reverie.py +++ b/reverie/backend_server/reverie.py @@ -26,6 +26,7 @@ import math import os import shutil +import traceback from selenium import webdriver @@ -591,7 +592,8 @@ def open_server(self): print (ret_str) - except: + except: + traceback.print_exc() print ("Error.") pass