Skip to content

Commit

Permalink
convert exception to string
Browse files Browse the repository at this point in the history
  • Loading branch information
gtalha07 authored Nov 25, 2022
1 parent dc62ef3 commit 71f491c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/controllers/network_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class NetworkController extends GetxController {
try {
connectivityResult = await (_connectivity.checkConnectivity());
} on PlatformException catch (e) {
debugPrint(e);
debugPrint(e.toString());
}
return _updateState(connectivityResult!);
}
Expand Down

0 comments on commit 71f491c

Please sign in to comment.