diff --git a/api/views.py b/api/views.py index 72b5518..79f3592 100644 --- a/api/views.py +++ b/api/views.py @@ -65,8 +65,8 @@ def NewSnapshot(request): try: Build(data, tk.owner) - except Exception: - return JsonResponse({'status': 'fail'}, status=200) + except Exception as err: + return JsonResponse({'status': f"fail: {err}"}, status=500) annotation = Annotation.objects.filter( uuid=data['uuid'],