From d00988c11db147a6d9b473acb5e2aae4a3d6a30b Mon Sep 17 00:00:00 2001 From: Thiago Carvalho <32248947+thiagocarvalhodev@users.noreply.github.com> Date: Mon, 13 May 2024 15:43:33 -0300 Subject: [PATCH] Update create_manifest_cubit.dart add log for error creating manifest file --- lib/blocs/create_manifest/create_manifest_cubit.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/blocs/create_manifest/create_manifest_cubit.dart b/lib/blocs/create_manifest/create_manifest_cubit.dart index 77e2d0fb16..23b7c9f8cb 100644 --- a/lib/blocs/create_manifest/create_manifest_cubit.dart +++ b/lib/blocs/create_manifest/create_manifest_cubit.dart @@ -208,8 +208,9 @@ class CreateManifestCubit extends Cubit { existingManifestFileId: existingManifestFileId, ), ); - } catch (err) { - addError(err); + } catch (e) { + logger.e('Failed to prepare manifest file', e); + addError(e); } }