Add a slightly more descriptive error message if something goes wrong starting FoundationDB

This commit is contained in:
Jon Chambers authored and Ameya Lokare committed 2026-09-10 10:42:13 -07:00
1 parent e976c4fbb5
commit 52b32ce2d4
1 file changed
+1 -1
@@ -180,7 +180,7 @@ public record CommandDependencies(
return new FaultTolerantDatabase(database, entry.getKey(),
configuration.getFoundationDbMessagesConfiguration().circuitBreakerConfigurationName());
} catch (final IOException e) {
throw new UncheckedIOException(e);
throw new UncheckedIOException("Failed to construct FoundationDB database", e);
}
}));