mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-03-21 17:16:34 +03:00
fix lint errors
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user