TF-1813 Add log stackTrace in ExceptionThrower
(cherry picked from commit a1634ad2553fb331603738620b416a5a7dda66a8)
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import 'package:core/utils/app_logger.dart';
|
||||
import 'package:tmail_ui_user/main/exceptions/exception_thrower.dart';
|
||||
|
||||
class CacheExceptionThrower extends ExceptionThrower {
|
||||
|
||||
@override
|
||||
throwException(dynamic error) {
|
||||
throwException(dynamic error, dynamic stackTrace) {
|
||||
logError('CacheExceptionThrower::throwException():error: $error | stackTrace: $stackTrace');
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user