Skip to content

Commit eede595

Browse files
authored
bug: IOException due to non existant source mapping url (#80)
* remove sourcemapping url comment from the JS file * remove stack trace from the 404 log message to console
1 parent 46352c8 commit eede595

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/java/org/juv25d/handler/StaticFileHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static HttpResponse handle(HttpRequest request) {
7575
return new HttpResponse(200, "OK", headers, fileContent);
7676

7777
} catch (IOException e) {
78-
logger.log(Level.WARNING, "File not found: " + resourcePath, e);
78+
logger.log(Level.WARNING, "File not found: " + resourcePath);
7979
return createNotFoundResponse(path);
8080
}
8181
}

0 commit comments

Comments
 (0)