aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-06-19 22:23:29 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-06-19 22:23:29 -0700
commit29ded4ce1e6e39d4d2c02bacf5e3387e7774c9bd (patch)
treebb978814f48dedb9cab826133df8dbc1fff906fa /src
parent9084c4db98eef6621e93b3f0fce6e7a61b683a06 (diff)
downloadtraccar-server-29ded4ce1e6e39d4d2c02bacf5e3387e7774c9bd.tar.gz
traccar-server-29ded4ce1e6e39d4d2c02bacf5e3387e7774c9bd.tar.bz2
traccar-server-29ded4ce1e6e39d4d2c02bacf5e3387e7774c9bd.zip
Fix HTML format
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/web/WebServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/web/WebServer.java b/src/main/java/org/traccar/web/WebServer.java
index 1f71bebc3..12fa80d10 100644
--- a/src/main/java/org/traccar/web/WebServer.java
+++ b/src/main/java/org/traccar/web/WebServer.java
@@ -92,7 +92,7 @@ public class WebServer {
@Override
protected void handleErrorPage(
HttpServletRequest request, Writer writer, int code, String message) throws IOException {
- writer.write("<!DOCTYPE<html><head><title>Error</title></head><html><body>"
+ writer.write("<!DOCTYPE><html><head><title>Error</title></head><html><body>"
+ code + " - " + HttpStatus.getMessage(code) + "</body></html>");
}
});