Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error deserialization bug #227

Merged
merged 2 commits into from
Oct 21, 2023

Conversation

aarani
Copy link
Contributor

@aarani aarani commented Oct 10, 2023

This PR fixes the deserialization error happening
when returned error is a simple string instead of an object
containing errorCode and errorMsg.

@knocte
Copy link
Member

knocte commented Oct 10, 2023

when returned error is a simple string instead of an object containing errorCode and errorMsg.

Please explain the circumstances for when this happened.

@aarani aarani force-pushed the fixErrorDeserialization branch from 9f7c7a7 to 97a1ed4 Compare October 11, 2023 08:55
@aarani aarani force-pushed the fixErrorDeserialization branch from 71e48b7 to 2bdfd9c Compare October 12, 2023 08:20
@aarani aarani force-pushed the fixErrorDeserialization branch from 2bdfd9c to 74a3cfc Compare October 12, 2023 09:11
We noticed in [1] that some servers return error response
that has only a string error instead of an error object,
so we're adding a test to prove the issue.

The error originally happened when I passed uint256
as txId to GetBlockchainTransaction electrum request
when it should've been a string.

[1] nblockchain#221
@aarani aarani force-pushed the fixErrorDeserialization branch from 66227c4 to 3ca8098 Compare October 16, 2023 11:35
This commit fixes the deserialization error happening
when returned error is a simple string instead of an object
containing errorCode and errorMsg.

The error originally happened when I passed uint256
as txId to GetBlockchainTransaction electrum request
when it should've been a string.

Co-authored-by: Mersho <[email protected]>
@aarani aarani force-pushed the fixErrorDeserialization branch from c0e307e to 7d91cb9 Compare October 19, 2023 10:10
@knocte knocte merged commit 04eb2eb into nblockchain:stable Oct 21, 2023
19 checks passed
@knocte
Copy link
Member

knocte commented Oct 28, 2023

I have the feeling that this PR has created a regression. I just got this running stable branch:

System.Exception: Some problem when connecting to b.1209k.com
 ---> GWallet.Backend.ServerUnavailabilityException: excessive resource usage
 ---> GWallet.Backend.UtxoCoin.ElectrumServerReturningErrorInJsonResponseException: excessive resource usage
   at GWallet.Backend.UtxoCoin.StratumClient.DeserializeInternal[T](String result) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 184
   at GWallet.Backend.UtxoCoin.StratumClient.Deserialize[T](String result) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 217
   at <StartupCode$GWallet-Backend>[email protected](Unit unitVar) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 144
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at [email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at <StartupCode$GWallet-Backend>[email protected](Unit unitVar) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 154
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at GWallet.Backend.UtxoCoin.Server.ElectrumServerToRetrievalFunc@70-3.Invoke(Exception _arg1) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\UtxoCoinServer.fs:line 80
   at GWallet.Backend.UtxoCoin.Server.ElectrumServerToRetrievalFunc@70-7.Invoke(Exception exn)
   at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 filterFunction, ExceptionDispatchInfo edi) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 547
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112

Please note: this didn't really crash the wallet, but it sends a WARNING to sentry because it is an unhandled exception that geewallet ultimately catches (with a catch-all), when doing FaultTolerantParallelClient queries.

@knocte
Copy link
Member

knocte commented Oct 28, 2023

And now it crashed!:

System.Exception: Some problem when connecting to b.1209k.com
 ---> GWallet.Backend.ServerUnavailabilityException: excessive resource usage
 ---> GWallet.Backend.UtxoCoin.ElectrumServerReturningErrorInJsonResponseException: excessive resource usage
   at GWallet.Backend.UtxoCoin.StratumClient.DeserializeInternal[T](String result) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 184
   at GWallet.Backend.UtxoCoin.StratumClient.Deserialize[T](String result) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 217
   at <StartupCode$GWallet-Backend>[email protected](Unit unitVar) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 144
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at [email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at <StartupCode$GWallet-Backend>[email protected](Unit unitVar) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 154
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at GWallet.Backend.UtxoCoin.Server.ElectrumServerToRetrievalFunc@70-3.Invoke(Exception _arg1) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\UtxoCoinServer.fs:line 80
   at GWallet.Backend.UtxoCoin.Server.ElectrumServerToRetrievalFunc@70-7.Invoke(Exception exn)
   at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 filterFunction, ExceptionDispatchInfo edi) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 547
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
System.AggregateException: One or more errors occurred. (Some problem when connecting to b.1209k.com)
 ---> System.Exception: Some problem when connecting to b.1209k.com
 ---> GWallet.Backend.ServerUnavailabilityException: excessive resource usage
 ---> GWallet.Backend.UtxoCoin.ElectrumServerReturningErrorInJsonResponseException: excessive resource usage
   at GWallet.Backend.UtxoCoin.StratumClient.DeserializeInternal[T](String result) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 184
   at GWallet.Backend.UtxoCoin.StratumClient.Deserialize[T](String result) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 217
   at <StartupCode$GWallet-Backend>[email protected](Unit unitVar) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 144
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at [email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at <StartupCode$GWallet-Backend>[email protected](Unit unitVar) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 154
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at GWallet.Backend.Infrastructure.Report(Exception ex, ErrorLevel _arg1) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\Infrastructure.fs:line 131
   at GWallet.Backend.Infrastructure.ReportWarning(Exception ex) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\Infrastructure.fs:line 138
   at GWallet.Backend.UtxoCoin.Server.FaultTolerantParallelClientDefaultSettings@35.Invoke(Exception ex) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\UtxoCoinServer.fs:line 35
   at <StartupCode$GWallet-Backend>[email protected](Exception _arg2) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\FaultTolerantParallelClient.fs:line 169
   at <StartupCode$GWallet-Backend>[email protected](Exception exn)
   at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 filterFunction, ExceptionDispatchInfo edi) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 547
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at <StartupCode$GWallet-Backend>[email protected](ServerTask`2 _arg1) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\FaultTolerantParallelClient.fs:line 318
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 528
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
   at Microsoft.FSharp.Control.AsyncResult`1.Commit() in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 454
   at Microsoft.FSharp.Control.AsyncPrimitives.QueueAsyncAndWaitForResultSynchronously[a](CancellationToken token, FSharpAsync`1 computation, FSharpOption`1 timeout) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1140
   at Microsoft.FSharp.Control.AsyncPrimitives.RunSynchronously[T](CancellationToken cancellationToken, FSharpAsync`1 computation, FSharpOption`1 timeout) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1167
   at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync`1 computation, FSharpOption`1 timeout, FSharpOption`1 cancellationToken) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1511
   at GWallet.Frontend.Console.UserInteraction.AskFee(IAccount account, TransferAmount amount, String destination) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Frontend.Console\UserInteraction.fs:line 599
   at Program.SendPayment() in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Frontend.Console\Program.fs:line 210
   at Program.PerformOperation(UInt32 numActiveAccounts, UInt32 numHotAccounts) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Frontend.Console\Program.fs:line 388
   at Program.ProgramMainLoop[a]() in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Frontend.Console\Program.fs:line 478
   at Program.NormalStartWithNoParameters() in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Frontend.Console\Program.fs:line 490
System.AggregateException: One or more errors occurred. (Some problem when connecting to b.1209k.com)
 ---> System.Exception: Some problem when connecting to b.1209k.com
 ---> GWallet.Backend.ServerUnavailabilityException: excessive resource usage
 ---> GWallet.Backend.UtxoCoin.ElectrumServerReturningErrorInJsonResponseException: excessive resource usage
   at GWallet.Backend.UtxoCoin.StratumClient.DeserializeInternal[T](String result) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 184
   at GWallet.Backend.UtxoCoin.StratumClient.Deserialize[T](String result) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 217
   at <StartupCode$GWallet-Backend>[email protected](Unit unitVar) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 144
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at [email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at <StartupCode$GWallet-Backend>[email protected](Unit unitVar) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 154
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at GWallet.Backend.Infrastructure.Report(Exception ex, ErrorLevel _arg1) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\Infrastructure.fs:line 131
   at GWallet.Backend.Infrastructure.ReportWarning(Exception ex) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\Infrastructure.fs:line 138
   at GWallet.Backend.UtxoCoin.Server.FaultTolerantParallelClientDefaultSettings@35.Invoke(Exception ex) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\UtxoCoinServer.fs:line 35
   at <StartupCode$GWallet-Backend>[email protected](Exception _arg2) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\FaultTolerantParallelClient.fs:line 169
   at <StartupCode$GWallet-Backend>[email protected](Exception exn)
   at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 filterFunction, ExceptionDispatchInfo edi) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 547
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at GWallet.Backend.Infrastructure.Report(Exception ex, ErrorLevel _arg1) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\Infrastructure.fs:line 131
   at GWallet.Backend.Infrastructure.LogOrReportCrash(Exception ex) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\Infrastructure.fs:line 150
   at Program.NormalStartWithNoParameters() in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Frontend.Console\Program.fs:line 494
   at Program.main(String[] argv) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Frontend.Console\Program.fs:line 512
Unhandled exception. System.AggregateException: One or more errors occurred. (Some problem when connecting to b.1209k.com)
 ---> System.Exception: Some problem when connecting to b.1209k.com
 ---> GWallet.Backend.ServerUnavailabilityException: excessive resource usage
 ---> GWallet.Backend.UtxoCoin.ElectrumServerReturningErrorInJsonResponseException: excessive resource usage
   at GWallet.Backend.UtxoCoin.StratumClient.DeserializeInternal[T](String result) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 184
   at GWallet.Backend.UtxoCoin.StratumClient.Deserialize[T](String result) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 217
   at <StartupCode$GWallet-Backend>[email protected](Unit unitVar) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 144
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at [email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at <StartupCode$GWallet-Backend>[email protected](Unit unitVar) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\StratumClient.fs:line 154
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at GWallet.Backend.Infrastructure.Report(Exception ex, ErrorLevel _arg1) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\Infrastructure.fs:line 131
   at GWallet.Backend.Infrastructure.ReportWarning(Exception ex) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\Infrastructure.fs:line 138
   at GWallet.Backend.UtxoCoin.Server.FaultTolerantParallelClientDefaultSettings@35.Invoke(Exception ex) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\UtxoCoin\UtxoCoinServer.fs:line 35
   at <StartupCode$GWallet-Backend>[email protected](Exception _arg2) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\FaultTolerantParallelClient.fs:line 169
   at <StartupCode$GWallet-Backend>[email protected](Exception exn)
   at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 filterFunction, ExceptionDispatchInfo edi) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 547
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
   --- End of inner exception stack trace ---
   at GWallet.Backend.Infrastructure.Report(Exception ex, ErrorLevel _arg1) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\Infrastructure.fs:line 131
   at GWallet.Backend.Infrastructure.LogOrReportCrash(Exception ex) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\Infrastructure.fs:line 150
   at GWallet.Backend.Infrastructure.OnUnhandledException(Object _arg1, UnhandledExceptionEventArgs args) in C:\Users\knocte\Documents\Code\geewalletSTABLE\src\GWallet.Backend\Infrastructure.fs:line 162
   at [email protected](Object delegateArg0, UnhandledExceptionEventArgs delegateArg1)

@knocte
Copy link
Member

knocte commented Oct 28, 2023

Nevermind, I found the issue (it wasn't related to this PR). Just pushed a fix to stable branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants