There was an error while loading. Please reload this page.
2 parents 4e3aeac + 9e0968e commit 755dfb8Copy full SHA for 755dfb8
1 file changed
poem/Poem/api/internal_views/metrics.py
@@ -55,7 +55,7 @@ def get(self, request, name=None):
55
56
except requests.RequestException as exc:
57
return error_response(
58
- status_code=status.HTTP_400_BAD_REQUEST,
+ status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
59
detail='Error fetching metric profile data from WEB-API'
60
)
61
0 commit comments