Skip to content

Commit 023f4b9

Browse files
committed
return error string instead of "Error"
1 parent b4cb8b5 commit 023f4b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ Future<String> fetchLocalHost() async {
9090
return response.toString();
9191
} catch (e) {
9292
print(e);
93-
return "Error";
93+
return e.toString();
9494
}
9595
}

0 commit comments

Comments
 (0)