init
Browse files
main.py
CHANGED
|
@@ -43,5 +43,6 @@ async def redirect(request:Request, path: str):
|
|
| 43 |
|
| 44 |
content_type = response.headers.get('content-type', 'application/octet-stream')
|
| 45 |
return StreamingResponse(stream_content(), media_type=content_type)
|
| 46 |
-
except:
|
|
|
|
| 47 |
return JSONResponse({ "msg": "try hard bro" })
|
|
|
|
| 43 |
|
| 44 |
content_type = response.headers.get('content-type', 'application/octet-stream')
|
| 45 |
return StreamingResponse(stream_content(), media_type=content_type)
|
| 46 |
+
except Exception as err:
|
| 47 |
+
print(f"{err} [ERROR]")
|
| 48 |
return JSONResponse({ "msg": "try hard bro" })
|