Skip to content

Commit

Permalink
Error page: Use descriptive code for alloptions (#1379)
Browse files Browse the repository at this point in the history
When the alloptions size exceeds the defined limit (1MB), we displayed an error page with a `1024` code. We can make that code more human-friendly so it's easier to identify the actual problem.

Fixes #1210
  • Loading branch information
GaryJones committed Apr 1, 2020
1 parent 72ad07b commit 75a4c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors/alloptions-limit.html
Expand Up @@ -146,7 +146,7 @@
<h1>Site Unavailable</h1>
<p>This site is temporarily unavailable, please try again in a few moments.</p>
<footer>
<span class="error">Error 1024</span>
<span class="error">Error 1024 (<code>alloptions</code>)</span>
</footer>
</div>
</div>
Expand Down

0 comments on commit 75a4c22

Please sign in to comment.