mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-19 03:38:12 -04:00
fix 'trade not found' bug caused by open offer being spent
do not remove open offer with spent funds if reserved for trade fix concurrent modification exception
This commit is contained in:
parent
266d129462
commit
cd7f176e2b
7 changed files with 72 additions and 60 deletions
|
@ -87,6 +87,7 @@ class GrpcTradesService extends TradesImplBase {
|
|||
} catch (IllegalArgumentException cause) {
|
||||
// Offer makers may call 'gettrade' many times before a trade exists.
|
||||
// Log a 'trade not found' warning instead of a full stack trace.
|
||||
cause.printStackTrace();
|
||||
exceptionHandler.handleExceptionAsWarning(log, "getTrade", cause, responseObserver);
|
||||
} catch (Throwable cause) {
|
||||
exceptionHandler.handleException(log, cause, responseObserver);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue