Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
joyBox committed Aug 15, 2023
1 parent 144f6cd commit 71dc31e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/Src/Services/RecordingService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ export class RecordingService {
const base = Path.parse(outputFilename).base;

const archivedFilename = Path.join(ARCHIVE_FOLDER, base);
await FS.rename(outputFilename, archivedFilename);

try {
await FS.rename(outputFilename, archivedFilename);
} catch (e) {}

this.completeEvent.Emit({ label, filename: archivedFilename });

Expand Down

0 comments on commit 71dc31e

Please sign in to comment.