Skip to content

Commit

Permalink
Don't repeat message from wrapped exception
Browse files Browse the repository at this point in the history
  • Loading branch information
kwin committed Jul 20, 2022
1 parent 521a09a commit ac67c8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public boolean get( URIish uri, CredentialItem... items ) throws UnsupportedCred
}
catch ( PrompterException e )
{
throw new IllegalStateException( "Cannot prompt user " + e.getMessage() , e );
throw new IllegalStateException( "Cannot prompt user", e );
}
}
return true;
Expand Down

0 comments on commit ac67c8e

Please sign in to comment.