Skip to content

Commit 1be82dd

Browse files
committed
fix: correct error message for binding embedded static resources in Bootstrapper
1 parent ab4b448 commit 1be82dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/restheart/Bootstrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ private static void plugStaticResourcesHandlers(final Configuration conf) {
849849

850850
if (sr.embedded()) {
851851
if (sr.what() == null || sr.what().startsWith("/")) {
852-
LOGGER.error("Cannot bind embedded static resources {}. parameter 'where'"
852+
LOGGER.error("Cannot bind embedded static resources {}. parameter 'what'"
853853
+ "cannot start with /. the path is relative to the jar root dir"
854854
+ " or classpath directory", sr);
855855
return;

0 commit comments

Comments
 (0)