TF-1813 Add log stackTrace in ExceptionThrower
(cherry picked from commit a1634ad2553fb331603738620b416a5a7dda66a8)
This commit is contained in:
@@ -14,8 +14,8 @@ import 'package:tmail_ui_user/main/routes/route_navigation.dart';
|
||||
class RemoteExceptionThrower extends ExceptionThrower {
|
||||
|
||||
@override
|
||||
throwException(dynamic error) {
|
||||
logError('RemoteExceptionThrower::throwException():error: $error');
|
||||
throwException(dynamic error, dynamic stackTrace) {
|
||||
logError('RemoteExceptionThrower::throwException():error: $error | stackTrace: $stackTrace');
|
||||
final networkConnectionController = getBinding<NetworkConnectionController>();
|
||||
if (networkConnectionController?.isNetworkConnectionAvailable() == false) {
|
||||
logError('RemoteExceptionThrower::throwException():isNetworkConnectionAvailable');
|
||||
|
||||
Reference in New Issue
Block a user