diff --git a/lib/core/model/failures.dart b/lib/core/model/failures.dart index 1f28b6d9..3e3d95de 100644 --- a/lib/core/model/failures.dart +++ b/lib/core/model/failures.dart @@ -25,7 +25,7 @@ extension ErrorPresenter on TranslationsEn { UnexpectedFailure(error: final nestedErr?) => errorToPair(nestedErr), Failure() => error.present(this), DioException() => error.present(this), - _ => (type: failure.unexpected, message: null), + _ => (type: failure.unexpected, message: error.toString()), }; PresentableError presentError(