We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e0bf0 commit 53840cfCopy full SHA for 53840cf
lib/content_management/bloc/create_headline/create_headline_bloc.dart
@@ -70,14 +70,14 @@ class CreateHeadlineBloc
70
emit(
71
state.copyWith(
72
status: CreateHeadlineStatus.failure,
73
- errorMessage: e.message,
+ exception: e,
74
),
75
);
76
} catch (e) {
77
78
79
80
- errorMessage: e.toString(),
+ exception: UnknownException('An unexpected error occurred: $e'),
81
82
83
}
0 commit comments