Skip to content

Commit

Permalink
Fixing a lost cause for an exception path
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanai committed Mar 12, 2020
1 parent 52ef94d commit deaf8ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public Condition<Object> apply(Method readMethod, Description mismatch) {
return notMatched();
} catch (Exception e) {
throw new IllegalStateException(
"Calling: '" + readMethod + "' should not have thrown " + e);
"Calling: '" + readMethod + "' should not have thrown", e);
}
}
};
Expand Down

0 comments on commit deaf8ba

Please sign in to comment.