fix: prevent error popup on windows (#4)

This commit is contained in:
Anthony Laibe 2021-09-10 20:15:13 +02:00 committed by GitHub
parent 080f70b766
commit 537024fdc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -21,7 +21,6 @@ proc callPrivateRPC*(methodName: string, payload = %* []): string =
let response = status_go.callPrivateRPC($inputJSON) let response = status_go.callPrivateRPC($inputJSON)
result = $response result = $response
if parseJSON(result).hasKey("error"): if parseJSON(result).hasKey("error"):
writeStackTrace()
error "rpc response error", result, payload, methodName error "rpc response error", result, payload, methodName
except Exception as e: except Exception as e:
error "error doing rpc request", methodName = methodName, exception=e.msg error "error doing rpc request", methodName = methodName, exception=e.msg