mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-01-20 09:44:40 +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) {
|
private void onConnectionChanged(MoneroRpcConnection currentConnection) {
|
||||||
if (isShutDownStarted || !accountService.isAccountOpen()) return;
|
if (isShutDownStarted || !accountService.isAccountOpen()) return;
|
||||||
if (currentConnection == null) {
|
if (currentConnection == null) {
|
||||||
log.warn("Setting daemon connection to null");
|
log.warn("Setting daemon connection to null", new Throwable("Stack trace"));
|
||||||
Thread.dumpStack();
|
|
||||||
}
|
}
|
||||||
synchronized (lock) {
|
synchronized (lock) {
|
||||||
if (currentConnection == null) {
|
if (currentConnection == null) {
|
||||||
|
|
|
@ -211,8 +211,7 @@ public class ArbitratorProcessDepositRequest extends TradeTask {
|
||||||
|
|
||||||
// log error
|
// log error
|
||||||
if (errorMessage != null) {
|
if (errorMessage != null) {
|
||||||
log.warn("Sending deposit responses with error={}", errorMessage);
|
log.warn("Sending deposit responses with error={}", errorMessage, new Throwable("Stack trace"));
|
||||||
Thread.dumpStack();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// create deposit response
|
// create deposit response
|
||||||
|
|
Loading…
Reference in a new issue