Skip to content

Commit dfb0b3d

Browse files
Bill-BeckerCopilot
andauthored
Update reoptjl/views.py for Error syntax 3
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 88f695c commit dfb0b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reoptjl/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,7 @@ def get_load_metrics(request):
17011701
return JsonResponse({"Error": str(e.args[0])}, status=400)
17021702

17031703
except KeyError as e:
1704-
return JsonResponse({"Error. Missing": str(e.args[0])}, status=400)
1704+
return JsonResponse({"Error": str(e.args[0])}, status=400)
17051705

17061706
except Exception:
17071707
exc_type, exc_value, exc_traceback = sys.exc_info()

0 commit comments

Comments
 (0)