fix lint errors

This commit is contained in:
proddy
2026-02-15 14:15:55 +01:00
parent 59aa63db0f
commit 35e2954b8b
2 changed files with 11 additions and 13 deletions

View File

@@ -23,6 +23,6 @@ export const saveFile = (
}, 100);
} catch (error) {
console.error('Failed to save file:', error);
throw new Error(`Unable to save file: ${filename}${extension}`);
throw new Error(`Unable to save file: ${filename}${extension}`, { cause: error });
}
};