Proper toString() for wrapped throwables
This commit is contained in:
@@ -33,6 +33,11 @@ public class WrappedValues {
|
|||||||
public Throwable getThrowable() {
|
public Throwable getThrowable() {
|
||||||
return throwable;
|
return throwable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return throwable.toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private WrappedValues() {
|
private WrappedValues() {
|
||||||
|
|||||||
Reference in New Issue
Block a user