added logging
Browse files
App/Transcription/TranscriptionRoutes.py
CHANGED
@@ -171,7 +171,8 @@ async def get_status(task_id):
|
|
171 |
try:
|
172 |
_trans = TranscriptionMetadata(**task_result.result)
|
173 |
percentage=_trans.percentage
|
174 |
-
except:
|
|
|
175 |
return {"payload": None, "message": "Nothing found", "code": 200}
|
176 |
await entry.update(**_trans.dict())
|
177 |
|
|
|
171 |
try:
|
172 |
_trans = TranscriptionMetadata(**task_result.result)
|
173 |
percentage=_trans.percentage
|
174 |
+
except Exception as e:
|
175 |
+
print(e)
|
176 |
return {"payload": None, "message": "Nothing found", "code": 200}
|
177 |
await entry.update(**_trans.dict())
|
178 |
|