actually we want 500

This commit is contained in:
Cyberes 2023-08-23 16:09:36 -06:00
parent fd5796ed07
commit a6b0bb0183
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def get_model():
'code': 502,
'error': 'failed to reach backend',
'type': error.__class__.__name__
}), 502
}), 500 # return 500 so Cloudflare doesn't intercept us
else:
return jsonify({
'result': model,