Skip to content

Commit

Permalink
OF-2611: Additional null-check
Browse files Browse the repository at this point in the history
  • Loading branch information
guusdk committed Jul 20, 2023
1 parent 1d4f0ac commit 507537e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public StreamErrorException(StreamError streamError, String message, Throwable c

public StreamErrorException(StreamError streamError, Throwable cause)
{
super(streamError != null && !streamError.getText().isEmpty() ? streamError.getText() : null, cause);
super(streamError != null && streamError.getText() != null && !streamError.getText().isEmpty() ? streamError.getText() : null, cause);
this.streamError = streamError;
}

Expand Down

0 comments on commit 507537e

Please sign in to comment.