Use standard error message in temporary app file copy catch

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
This commit is contained in:
colton
2021-10-11 13:48:40 -04:00
committed by Colton Padden
parent c80e7ffbf9
commit 10f513dd8c
+1 -1
View File
@@ -103,7 +103,7 @@ async function moveApp(tempDir: string, destination: string, id: string) {
});
})
.catch(error => {
throw new Error(`Failed to read temporary directory: ${error.message}`);
throw new Error(`Failed to read temporary directory, ${error}`);
});
for (const relativeTempFile of relativeTempFiles) {