mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-01-20 01:34:41 +00:00
replace Thread.dumpStack() to write stack traces to log files
Some checks are pending
Some checks are pending
This commit is contained in:
parent
2f322674f8
commit
6301bde10e
2 changed files with 3 additions and 5 deletions
|
@ -654,8 +654,7 @@ public final class XmrConnectionService {
|
|||
private void onConnectionChanged(MoneroRpcConnection currentConnection) {
|
||||
if (isShutDownStarted || !accountService.isAccountOpen()) return;
|
||||
if (currentConnection == null) {
|
||||
log.warn("Setting daemon connection to null");
|
||||
Thread.dumpStack();
|
||||
log.warn("Setting daemon connection to null", new Throwable("Stack trace"));
|
||||
}
|
||||
synchronized (lock) {
|
||||
if (currentConnection == null) {
|
||||
|
|
|
@ -211,8 +211,7 @@ public class ArbitratorProcessDepositRequest extends TradeTask {
|
|||
|
||||
// log error
|
||||
if (errorMessage != null) {
|
||||
log.warn("Sending deposit responses with error={}", errorMessage);
|
||||
Thread.dumpStack();
|
||||
log.warn("Sending deposit responses with error={}", errorMessage, new Throwable("Stack trace"));
|
||||
}
|
||||
|
||||
// create deposit response
|
||||
|
|
Loading…
Reference in a new issue