Skip to content

Commit f44341a

Browse files
NotificationLite.ErrorSentinel.toString
It should delegate the toString to the Exception, not reach into the message. Some Exceptions don't have a message so this could print "null" and not show the exception type.
1 parent 2845e19 commit f44341a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/rx/internal/operators/NotificationLite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public OnErrorSentinel(Throwable e) {
7676
}
7777

7878
public String toString() {
79-
return "Notification=>Error:" + e.getMessage();
79+
return "Notification=>Error:" + e;
8080
}
8181
}
8282

0 commit comments

Comments
 (0)