Commit 7702b513 authored by William Colmenares's avatar William Colmenares

fixed toggle message/added logs in case of errors

parent 7108f538
......@@ -271,7 +271,7 @@ def change_status(request):
)
except Job.DoesNotExist:
logger.error(
"the user {} tried to toggle the job id {} but it doesn't exists.".format(
"the user {} tried to toggle the job id {} but it doesn't exist.".format(
request.user, request.POST.get('job_id'))
)
return redirect('jobs:my_jobs')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment