mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
log stacktrace to logfile when a task fails
This commit is contained in:
parent
79a49fed3e
commit
a25befb742
1 changed files with 2 additions and 3 deletions
|
@ -64,9 +64,8 @@ public abstract class Task<T extends Model> {
|
|||
}
|
||||
|
||||
protected void failed(Throwable t) {
|
||||
t.printStackTrace();
|
||||
appendExceptionToErrorMessage(t);
|
||||
failed();
|
||||
log.error(errorMessage, t);
|
||||
taskHandler.handleErrorMessage(errorMessage);
|
||||
}
|
||||
|
||||
protected void failed() {
|
||||
|
|
Loading…
Add table
Reference in a new issue