File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/app_configuration/bloc Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ class AppConfigurationBloc
43
43
emit (
44
44
state.copyWith (
45
45
status: AppConfigurationStatus .failure,
46
- errorMessage : e.message ,
46
+ exception : e,
47
47
),
48
48
);
49
49
} catch (e) {
50
50
emit (
51
51
state.copyWith (
52
52
status: AppConfigurationStatus .failure,
53
- errorMessage : 'An unknown error occurred: $e ' ,
53
+ exception : UnknownException ( 'An unknown error occurred: $e ' ) ,
54
54
),
55
55
);
56
56
}
@@ -79,14 +79,14 @@ class AppConfigurationBloc
79
79
emit (
80
80
state.copyWith (
81
81
status: AppConfigurationStatus .failure,
82
- errorMessage : e.message ,
82
+ exception : e,
83
83
),
84
84
);
85
85
} catch (e) {
86
86
emit (
87
87
state.copyWith (
88
88
status: AppConfigurationStatus .failure,
89
- errorMessage : 'An unknown error occurred: $e ' ,
89
+ exception : UnknownException ( 'An unknown error occurred: $e ' ) ,
90
90
),
91
91
);
92
92
}
You can’t perform that action at this time.
0 commit comments