fix: prevent error popup on windows (#4)
This commit is contained in:
parent
080f70b766
commit
537024fdc5
|
@ -21,7 +21,6 @@ proc callPrivateRPC*(methodName: string, payload = %* []): string =
|
|||
let response = status_go.callPrivateRPC($inputJSON)
|
||||
result = $response
|
||||
if parseJSON(result).hasKey("error"):
|
||||
writeStackTrace()
|
||||
error "rpc response error", result, payload, methodName
|
||||
except Exception as e:
|
||||
error "error doing rpc request", methodName = methodName, exception=e.msg
|
||||
|
|
Loading…
Reference in New Issue