Catch UnsatisfiedLinkError when initializing Pirate Chain library

This commit is contained in:
CalDescent 2022-05-10 08:05:06 +01:00
parent 28fd9241d4
commit abce068b97

View File

@ -97,7 +97,7 @@ public class PirateWallet {
Integer ourHeight = this.getHeight(); Integer ourHeight = this.getHeight();
return (ourHeight != null && ourHeight > 0); return (ourHeight != null && ourHeight > 0);
} catch (IOException | JSONException e) { } catch (IOException | JSONException | UnsatisfiedLinkError e) {
LOGGER.info("Unable to initialize Pirate Chain wallet: {}", e.getMessage()); LOGGER.info("Unable to initialize Pirate Chain wallet: {}", e.getMessage());
} }