more cloudflare finicky stuff

This commit is contained in:
Cyberes 2023-08-23 16:32:13 -06:00
parent f76d7bbc5d
commit 64e1b1654f
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ def get_model():
model, error = get_running_model()
if not model:
return jsonify({
'result': None,
'code': 502,
'error': 'failed to reach backend',
'type': error.__class__.__name__