Refactor error handling in download function
This commit is contained in:
parent
3ccf5d9e19
commit
1bef8fb268
1 changed files with 1 additions and 2 deletions
|
@ -42,8 +42,7 @@ export async function download(URL, TYPE, VERIFY_ONLY = false, STRICT = false) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
alerts.error(err.name, err.message, err.stack);
|
throw err;
|
||||||
let DATA = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return the filter.
|
// Return the filter.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue