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 dbb0566 commit 006d5b0Copy full SHA for 006d5b0
lib/content_management/bloc/create_headline/create_headline_bloc.dart
@@ -178,14 +178,14 @@ class CreateHeadlineBloc
178
emit(
179
state.copyWith(
180
status: CreateHeadlineStatus.failure,
181
- errorMessage: e.message,
+ exception: e,
182
),
183
);
184
} catch (e) {
185
186
187
188
- errorMessage: e.toString(),
+ exception: UnknownException('An unexpected error occurred: $e'),
189
190
191
}
0 commit comments