Skip to content

Commit

Permalink
Logging HTTP-request method received by surveys/update_library
Browse files Browse the repository at this point in the history
  • Loading branch information
katste committed Dec 8, 2015
1 parent 8038a66 commit 6916ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libstat/views/surveys.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def surveys_update_library(request):
else:
logger.error("Bibdb library data change sync: bad request")
return HttpResponseBadRequest()
logger.warn("Received illegal request to /surveys/update_library")
logger.warn("Received illegal request to /surveys/update_library. HTTP-method: %s" % request.method)
return HttpResponseNotAllowed(['POST'])


0 comments on commit 6916ef2

Please sign in to comment.