diff --git a/lib/app/components/nuxt-error.vue b/lib/app/components/nuxt-error.vue
index 9db40c8470..ac342b8063 100644
--- a/lib/app/components/nuxt-error.vue
+++ b/lib/app/components/nuxt-error.vue
@@ -6,7 +6,9 @@
{{ statusCode }}
{{ message }}
- <%if(debug){%>
URI: {{ $route.path }}
{{ error.stack }}
<%}%>
+ <% if(debug) { %>
+
Route: {{ $route.fullPath }}
Query: {{ $route.query }}
Params: {{$route.params}}
{{ error.stack }}
+ <% } %>
Back to the home page
@@ -38,6 +40,16 @@ export default {
]
}
},
+ <% if(debug) { %>
+ data () {
+ return {
+ mounted: false
+ }
+ },
+ mounted () {
+ this.mounted = true
+ },
+ <% } %>
computed: {
statusCode () {
return (this.error && this.error.statusCode) || 500
@@ -69,11 +81,13 @@ export default {
margin: 0 auto;
max-width: 70%;
}
+<% if(debug) { %>
.__nuxt-error-page .error-box {
box-shadow: 0px 0px 9px #d3d3d3;
padding: 10px;
text-align: left;
}
+<% } %>
.__nuxt-error-page .poweredby {
text-align: center;
margin-top: 10%;