Skip to content

Commit e5485ad

Browse files
author
Raymie Stata
committed
Try.getThrowable - fix exception msg.
1 parent 59b26b8 commit e5485ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/dataloader/Try.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public V get() {
167167
*/
168168
public Throwable getThrowable() {
169169
if (isSuccess()) {
170-
throw new UnsupportedOperationException("You have called Try.getThrowable() with a failed Try", throwable);
170+
throw new UnsupportedOperationException("You have called Try.getThrowable() with a successful Try");
171171
}
172172
return throwable;
173173
}

0 commit comments

Comments
 (0)