Commit e145ec58 authored by Ted Trask's avatar Ted Trask

Display postgres error status

parent d32887c3
......@@ -15,7 +15,11 @@ end %>
<DT>Database status</DT><DD>
<% if status then %>
<%= status.value.status.value %>
<% if status.value.status.errtxt then
print(status.value.status.errtxt)
else
print(status.value.status.value)
end %>
<% else %>
Unknown
<% end %>
......
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