Skip to content

Commit da763c6

Browse files
authored
fix: Minor refactor to format exception message (#2764)
Signed-off-by: yanghua <[email protected]>
1 parent 269055e commit da763c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/serving/src/main/java/feast/serving/config/RegistryConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ RegistryFile registryFile(
6161
case "file":
6262
return new LocalRegistryFile(registryPath);
6363
default:
64-
throw new RuntimeException("Registry storage %s is unsupported");
64+
throw new RuntimeException(
65+
String.format("Registry storage %s is unsupported", scheme.get()));
6566
}
6667
}
6768

0 commit comments

Comments
 (0)