Skip to content

Commit

Permalink
Enhance logs (#12682)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ authored Jul 6, 2023
1 parent 54238c2 commit 9ae97ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public interface ObjectInput extends DataInput {
default Throwable readThrowable() throws IOException, ClassNotFoundException {
Object obj = readObject();
if (!(obj instanceof Throwable)) {
throw new IOException("Response data error, expect Throwable, but get " + obj);
throw new IOException("Response data error, expect Throwable, but get " + obj.getClass());
}
return (Throwable) obj;
}
Expand Down

0 comments on commit 9ae97ea

Please sign in to comment.