Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -158,6 +158,8 @@ async def endpoint_output(endpoint_result: ResultItem, code: int = 0, error: str
|
|
158 |
)
|
159 |
|
160 |
except Exception as e:
|
|
|
|
|
161 |
code = 0
|
162 |
msg = 'Execution failed'
|
163 |
errors = f"Omg, an error occurred. endpoint_output Error: {e} & endpoint_result Error: {error} & endpoint_result: {endpoint_result}"
|
|
|
158 |
)
|
159 |
|
160 |
except Exception as e:
|
161 |
+
print(output)
|
162 |
+
print(endpoint_result)
|
163 |
code = 0
|
164 |
msg = 'Execution failed'
|
165 |
errors = f"Omg, an error occurred. endpoint_output Error: {e} & endpoint_result Error: {error} & endpoint_result: {endpoint_result}"
|