mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
Add a generic catch-all error message
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
{{else if is404}}
|
||||
<h1 class="title is-spaced">Not Found</h1>
|
||||
<p class="subtitle">What you're looking for couldn't be found. It either doesn't exist or you are not authorized to see it.</p>
|
||||
{{else}}
|
||||
<h1 class="title is-spaced">Error</h1>
|
||||
<p class="subtitle">Something went wrong.</p>
|
||||
{{/if}}
|
||||
{{#if (eq config.environment "development")}}
|
||||
<pre class="error-stack-trace"><code>{{errorStr}}</code></pre>
|
||||
|
||||
Reference in New Issue
Block a user