mirror of
https://github.com/outline/outline.git
synced 2026-01-06 11:09:55 -06:00
Improve error handling
This commit is contained in:
@@ -2,33 +2,44 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Error - //inject-status//</title>
|
||||
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
<meta
|
||||
name="viewport"
|
||||
content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"
|
||||
/>
|
||||
|
||||
<style>
|
||||
body {
|
||||
padding: 50px 80px;
|
||||
font: 14px "Helvetica Neue", Helvetica, sans-serif;
|
||||
font: 16px "Helvetica Neue", Helvetica, sans-serif;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
font-size: 3em;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #394351;
|
||||
}
|
||||
|
||||
pre {
|
||||
font-size: .8em;
|
||||
font-size: 0.8em;
|
||||
border-radius: 8px;
|
||||
padding: 12px 16px;
|
||||
background: #dae1e9;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="error">
|
||||
<h1>Error</h1>
|
||||
<p>Looks like something broke!</p>
|
||||
<pre>
|
||||
<code>
|
||||
//inject-stack//
|
||||
</code>
|
||||
</pre>
|
||||
<h1>//inject-status//</h1>
|
||||
<p>//inject-message//</p>
|
||||
<pre>//inject-stack//</pre>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user