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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user