File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
core/main/java/com/codingchili/core/configuration Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -424,8 +424,14 @@ public static String getIdentityNotConfigured(String name) {
424424 return "[" + name + "] Error: '" + ID_NODE + "' must be configured for token generation." ;
425425 }
426426
427- public static String getStorageLoaderError (Class plugin , String database , String collection ) {
428- return "Error: Failed to load storage plugin '" + plugin .getSimpleName () + "' for '" + database + DIR_SEPARATOR + collection + "'." ;
427+ public static String getStorageLoaderError (String plugin , String database , String collection ) {
428+ return String .format (
429+ "Error: Failed to load storage plugin '%s' for '%s%s%s'." ,
430+ plugin ,
431+ database ,
432+ DIR_SEPARATOR ,
433+ collection
434+ );
429435 }
430436
431437 public static String getErrorCreateDirectory (String target ) {
You can’t perform that action at this time.
0 commit comments