hvoss-techfak commited on
Commit
7faed42
·
verified ·
1 Parent(s): 8e4ef5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -835,7 +835,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
835
  self.returncode = run_autoforge_process(self.cmd, self.log_path)
836
  except Exception as e:
837
  import traceback
838
- exc_str = repr(e)
839
  self.exc = e
840
  capture_exception(e) # still goes to Sentry
841
 
 
835
  self.returncode = run_autoforge_process(self.cmd, self.log_path)
836
  except Exception as e:
837
  import traceback
838
+ exc_str = str(e).strip()
839
  self.exc = e
840
  capture_exception(e) # still goes to Sentry
841