From 5439ce895433bbf9c9e5dee3cb6e1596954c38b9 Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 25 Jul 2023 12:06:06 -0600 Subject: [PATCH] show error before data in case dart decides string is too long and cuts it off --- lib/electrumx_rpc/electrumx.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/electrumx_rpc/electrumx.dart b/lib/electrumx_rpc/electrumx.dart index e0a3118eb..804a1364c 100644 --- a/lib/electrumx_rpc/electrumx.dart +++ b/lib/electrumx_rpc/electrumx.dart @@ -159,8 +159,8 @@ class ElectrumX { throw Exception( "JSONRPC response\n" " command: $command\n" - " args: $args\n" - " error: ${response.data}", + " error: ${response.data}" + " args: $args\n", ); }