Skip to content

Commit

Permalink
Error displayed as part of JSON version data
Browse files Browse the repository at this point in the history
  • Loading branch information
z-sztrom committed Nov 8, 2024
1 parent 9544561 commit c98e4ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 2.1.12
## 2.1.13
- Endpoint /versions made more robust.

## 2.1.11
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public Map<String, String> getServiceVersion() {
// "WEB-INF" was not found in the path, strange...
log.error("Cannot find '" + WEB_INF + "' in the path '" + resourcesPath +
"'. Not loaded from a WAR file?");
serviceVersion.put(VERSION, "\"ERROR: " + META_INF_MANIFEST_MF + " not found; was the service run from a WAR file?\"");
return serviceVersion;
}

Expand Down

0 comments on commit c98e4ed

Please sign in to comment.