mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-18 06:54:15 +00:00
Improve error message when file processing fails
This commit is contained in:
parent
e35f407df4
commit
0499f64e74
@ -22,7 +22,9 @@ export default {
|
||||
.rm(job.workPath, { recursive: true, force: true })
|
||||
.catch(() => null)
|
||||
|
||||
throw error
|
||||
throw new Error(
|
||||
`Failed to process file > ${error.message ?? error}`,
|
||||
)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user