Fix may need more accurate handling
The page now tells the user the file is missing from the server.
It has not been tested yet
@@ -258,6 +258,10 @@ export default class Job {
downloadArchive (filename) {
const url = `projects/${this.project.id}/jobs/${this.id}/archive/download?filename=${filename}`
NewAPIService.openAPIUrl(url)
+ .catch((err) => {
+ NotificationService.$emit('NOTIFICATION', new Notification('It seems the archived file was deleted from the server'))
+ console.log(err)
+ })
}
listenConsole () {
