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) {
|
||||
alerts.error(err.name, err.message, err.stack);
|
||||
let DATA = null;
|
||||
throw err;
|
||||
}
|
||||
|
||||
// Return the filter.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue