Skip to content

Commit 1b24f36

Browse files
fix: added console.info message to the catch block
1 parent 0bb1b16 commit 1b24f36

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/jsActions/nanoflow-actions-native/src/other/Base64DecodeToImage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ export async function Base64DecodeToImage(base64: string, image: mendix.lib.MxOb
6161
{},
6262
blob,
6363
() => {
64-
RNBlobUtil.fs.unlink(tempPath).catch(() => {});
64+
RNBlobUtil.fs.unlink(tempPath).catch(e => console.info("Temp file cleanup failed:", e));
6565
resolve(true);
6666
},
6767
error => {
68-
RNBlobUtil.fs.unlink(tempPath).catch(() => {});
68+
RNBlobUtil.fs.unlink(tempPath).catch(e => console.info("Temp file cleanup failed:", e));
6969
reject(error);
7070
}
7171
);

0 commit comments

Comments
 (0)