show error before data in case dart decides string is too long and cuts it off

This commit is contained in:
julian 2023-07-25 12:06:06 -06:00
parent e1140e6fa6
commit 5439ce8954

View file

@ -159,8 +159,8 @@ class ElectrumX {
throw Exception( throw Exception(
"JSONRPC response\n" "JSONRPC response\n"
" command: $command\n" " command: $command\n"
" args: $args\n" " error: ${response.data}"
" error: ${response.data}", " args: $args\n",
); );
} }