Skip to content

Commit 7d22ab1

Browse files
committed
fix(content_management): display exception details
- Replaced generic error message. - Now shows specific exception. - Improves error handling clarity.
1 parent c162cff commit 7d22ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/content_management/view/topics_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class _TopicPageState extends State<TopicPage> {
4949

5050
if (state.topicsStatus == ContentManagementStatus.failure) {
5151
return FailureStateWidget(
52-
message: state.errorMessage ?? l10n.unknownError,
52+
exception: state.exception!,
5353
onRetry: () => context.read<ContentManagementBloc>().add(
5454
const LoadTopicsRequested(limit: kDefaultRowsPerPage),
5555
),

0 commit comments

Comments
 (0)