improve errors further

This commit is contained in:
Henry Hiles 2026-03-27 22:54:03 -04:00
commit c609de8279
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -29,8 +29,10 @@ class ExpandableImageMessage extends ConsumerWidget {
child: InteractiveViewer(
child: Image(
fit: BoxFit.contain,
errorBuilder: (_, error, stackTrace) =>
ErrorDialog(error, stackTrace),
errorBuilder: (_, error, stackTrace) => ErrorDialog(
"Loading failed for ${message.source}\nError: $error",
stackTrace,
),
image: CachedNetworkImage(
message.source,
ref.watch(CrossCacheController.provider),