From be2531ec995d66a6ac3dd5d736d8020048861821 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 4 Dec 2022 07:19:13 -0500 Subject: [PATCH] *Update dist --- dist/query/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/query/base.js b/dist/query/base.js index 7585bfb..8f937e1 100644 --- a/dist/query/base.js +++ b/dist/query/base.js @@ -50,7 +50,7 @@ export default class RpcQueryBase { await this._run(); } catch (e) { - this._promiseResolve?.({ error: e.message }); + this._promiseResolve?.({ error: e?.message || e?.error }); } } setupRelayTimeout(reject) {