ffreemt commited on
Commit
c5fa067
·
1 Parent(s): 12623c6

Update SERVER_PORT

Browse files
Files changed (1) hide show
  1. duck2api_fwd.py +4 -2
duck2api_fwd.py CHANGED
@@ -21,8 +21,10 @@ from ycecream import y
21
 
22
 
23
  def run_duck2api():
24
- run_cmd("./duck2api")
25
-
 
 
26
 
27
  Thread(target=run_duck2api).start()
28
 
 
21
 
22
 
23
  def run_duck2api():
24
+ try:
25
+ run_cmd("./duck2api")
26
+ except Exception as exc:
27
+ y(exc)
28
 
29
  Thread(target=run_duck2api).start()
30