From 71be9a52bfc6e0c12ab022658a8b7110c217c966 Mon Sep 17 00:00:00 2001 From: D Date: Thu, 12 Sep 2024 12:35:35 +0500 Subject: [PATCH] checking format --- tools/helpers.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/helpers.ts b/tools/helpers.ts index 50073a62..dc4292d6 100644 --- a/tools/helpers.ts +++ b/tools/helpers.ts @@ -90,7 +90,8 @@ export const getAssetFormat = async (imageUri: string): Promise => { return format; } catch (e: any) { console.log(e.message, "reading format"); - throw e; + // throw e; + return "jpg" } };