Skip to content

Commit

Permalink
fix: delete imported file if error has thrown
Browse files Browse the repository at this point in the history
  • Loading branch information
abouolia committed Apr 8, 2024
1 parent 0684e50 commit 2310b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/services/Import/ImportFileUpload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class ImportFileUploadService {
params
);
} catch (err) {
// deleteImportFile(filename);
deleteImportFile(filename);
throw err;
}
}
Expand Down

0 comments on commit 2310b09

Please sign in to comment.