Skip to content
Snippets Groups Projects
Commit 285f947b authored by Samuel GAIST's avatar Samuel GAIST Committed by André Anjos
Browse files

[backend] Use new formatting for error string generation

parent 1b94d04d
No related branches found
No related tags found
1 merge request!194Scheduler
......@@ -53,8 +53,8 @@ def scheduler(request):
response = scheduler_api(request)
if response.status_code != 200:
messages.error(request, "Error contacting the scheduler at %s:%d " \
"[%s/%d] %s" % (settings.SCHEDULER_ADDRESS,
messages.error(request, "Error contacting the scheduler at {}:{} " \
"[{}/{}] {}".format(settings.SCHEDULER_ADDRESS,
settings.SCHEDULER_PORT, response.status_text,
response.status_code, response.data))
return render_to_response('backend/scheduler.html', dict(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment