mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 19:59:05 +01:00
Log the exception class when logging exceptions.
This commit is contained in:
@@ -17,7 +17,7 @@ public class SigningConsumer implements Consumer {
|
||||
try {
|
||||
signature.update(b);
|
||||
} catch(SignatureException e) {
|
||||
throw new IOException(e.getMessage());
|
||||
throw new IOException(e.toString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ public class SigningConsumer implements Consumer {
|
||||
try {
|
||||
signature.update(b, off, len);
|
||||
} catch(SignatureException e) {
|
||||
throw new IOException(e.getMessage());
|
||||
throw new IOException(e.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user