Commit c355eef8 authored by novelailab's avatar novelailab

traceback

parent 63809bbb
......@@ -17,6 +17,7 @@ import os
import signal
import simplejpeg
import base64
import traceback
#Initialize model and config
model, config = init_config_model()
......@@ -103,6 +104,7 @@ def generate(request: GenerationRequest):
#return GenerationOutput(output=images)
except Exception as e:
traceback.print_exc()
capture_exception(e)
logger.error(str(e))
e_s = str(e)
......@@ -137,6 +139,7 @@ def generate(request: GenerationRequest):
return GenerationOutput(output=images)
except Exception as e:
traceback.print_exc()
capture_exception(e)
logger.error(str(e))
e_s = str(e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment