File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/content_management/view Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ class _EditSourceViewState extends State<_EditSourceView> {
120
120
..hideCurrentSnackBar ()
121
121
..showSnackBar (
122
122
SnackBar (
123
- content: Text (state.errorMessage ?? l10n.unknownError ),
123
+ content: Text (state.exception ! . toFriendlyMessage (context) ),
124
124
backgroundColor: Theme .of (context).colorScheme.error,
125
125
),
126
126
);
@@ -144,7 +144,7 @@ class _EditSourceViewState extends State<_EditSourceView> {
144
144
if (state.status == EditSourceStatus .failure &&
145
145
state.initialSource == null ) {
146
146
return FailureStateWidget (
147
- message : state.errorMessage ?? l10n.unknownError ,
147
+ exception : state.exception ! ,
148
148
onRetry: () =>
149
149
context.read <EditSourceBloc >().add (const EditSourceLoaded ()),
150
150
);
You can’t perform that action at this time.
0 commit comments