From 40d9a8aa9e5983d676850b44bff758dc0f5bd868 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Thu, 27 Jul 2023 13:14:19 -0500 Subject: [PATCH] include exception if non-null --- lib/services/cashfusion/connection.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/cashfusion/connection.dart b/lib/services/cashfusion/connection.dart index ee36a17dc..0d6953a71 100644 --- a/lib/services/cashfusion/connection.dart +++ b/lib/services/cashfusion/connection.dart @@ -174,7 +174,7 @@ class Connection { if (e is Exception) { throw e; } else { - throw Exception('Unknown error'); + throw Exception(e ?? 'Error in `subscription` socket!.listen'); } }, onDone: () {