Skip to content

Commit

Permalink
Merge branch 'main' into ANCHOR-403-reece-SDP001-aws-metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
reecexlm committed Aug 11, 2023
2 parents 482057e + 574e8c7 commit 56ece29
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/src/main/java/org/stellar/anchor/util/NetUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public static String fetch(String url) throws IOException {
}

return response.body().string();

}

@SuppressWarnings("BooleanMethodIsAlwaysInverted")
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/stellar/anchor/util/Sep1Helper.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public static TomlContent parse(String tomlString) throws InvalidConfigException
Log.error(e.toString()); // Log the parsing exception
throw new InvalidConfigException(
obfuscatedMessage); // Preserve the original exception as the cause

}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ class Sep1ServiceTest {
assertTrue(
exception.message?.contains("code=500, message=Server Error, url=http://localhost:") == true
)

mockServer.shutdown()
}
}

0 comments on commit 56ece29

Please sign in to comment.