diff --git a/tailbone/templates/datasync/status.mako b/tailbone/templates/datasync/status.mako index 452ba248..c80615ce 100644 --- a/tailbone/templates/datasync/status.mako +++ b/tailbone/templates/datasync/status.mako @@ -11,7 +11,7 @@ <%def name="page_content()"> - % if expose_websockets: + % if expose_websockets and not supervisor_error: @@ -21,7 +21,11 @@
-
{{ processDescription }}
+ % if supervisor_error: +
${supervisor_error}
+ % else: +
{{ processDescription }}
+ % endif
% if request.has_perm('datasync.restart'): @@ -128,7 +132,7 @@ this.restartingProcess = true } - % if expose_websockets: + % if expose_websockets and not supervisor_error: ThisPageData.ws = null ThisPageData.websocketClosed = false