We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f82a94 + 4705e9f commit d1a4b8eCopy full SHA for d1a4b8e
rskj-core/src/main/java/co/rsk/RskContext.java
@@ -427,7 +427,7 @@ public BuildInfo getBuildInfo() {
427
if (buildInfo == null) {
428
try {
429
Properties props = new Properties();
430
- InputStream buildInfoFile = RskContext.class.getResourceAsStream("build-info.properties");
+ InputStream buildInfoFile = RskContext.class.getClassLoader().getResourceAsStream("build-info.properties");
431
props.load(buildInfoFile);
432
buildInfo = new BuildInfo(props.getProperty("build.hash"), props.getProperty("build.branch"));
433
} catch (IOException | NullPointerException e) {
0 commit comments