Skip to content

Commit

Permalink
yay debugging in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrSheldon committed Aug 29, 2024
1 parent ae036fd commit 40e1316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/src/tira/endpoints/serp_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ def serp(request, context, vm_id, dataset_id, task_id, run_id, topk):

return HttpResponse(rendered_serp)
except Exception as e:
print(e)
logger.exception(e)
return JsonResponse({"status": "1", "message": f"Encountered an exception: {e}"})

0 comments on commit 40e1316

Please sign in to comment.