Files
workavia-mail-front/lib/main/exceptions/cache_exception_thrower.dart
T
dab246 bf902d79ee TF-1813 Add log stackTrace in ExceptionThrower
(cherry picked from commit a1634ad2553fb331603738620b416a5a7dda66a8)
2023-06-13 10:17:45 +07:00

11 lines
358 B
Dart

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, dynamic stackTrace) {
logError('CacheExceptionThrower::throwException():error: $error | stackTrace: $stackTrace');
throw error;
}
}