Skip to content

Commit

Permalink
add causes
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamVe committed Jan 21, 2025
1 parent 946530c commit 59b8bd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ public <T extends YubiKeyConnection> void requestConnection(
"openConnection("
+ connectionType.getSimpleName()
+ ") exception: "
+ exception.getMessage())));
+ exception.getMessage(),
exception)));
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ public <T extends YubiKeyConnection> void requestConnection(
"openConnection("
+ connectionType.getSimpleName()
+ ") exception: "
+ exception.getMessage())));
+ exception.getMessage(),
exception)));
}
});
}
Expand Down Expand Up @@ -209,7 +210,8 @@ private CachedOtpConnection(Callback<Result<OtpConnection, IOException>> callbac
callback.invoke(
Result.failure(
new IOException(
"openConnection(OtpConnection) exception: " + exception.getMessage())));
"openConnection(OtpConnection) exception: " + exception.getMessage(),
exception)));
}
});
}
Expand Down

0 comments on commit 59b8bd8

Please sign in to comment.