Commit 572b513
Keith R. Gustafson
Set HTTP status 500 when site is unavailable
When the site is down, it shows an error message but the HTTP code is the
default of 200. This is a problem for load balancers seeing the application
as healthy when it is not.1 parent e5d408f commit 572b513
File tree
1 file changed
+1
-0
lines changed- gemini/src/main/java/com/techempower/gemini
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
| 1142 | + | |
1142 | 1143 | | |
1143 | 1144 | | |
1144 | 1145 | | |
| |||
0 commit comments