mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
fix: delete imported file if error has thrown
This commit is contained in:
@@ -48,7 +48,7 @@ export class ImportFileUploadService {
|
||||
params
|
||||
);
|
||||
} catch (err) {
|
||||
// deleteImportFile(filename);
|
||||
deleteImportFile(filename);
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user