mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 23:06:16 -04:00
'Fork' operation now has an option to ignore errors occuring on each branch
This commit is contained in:
parent
488ca7167e
commit
baa433ab80
3 changed files with 33 additions and 16 deletions
|
@ -177,13 +177,12 @@ Recipe.prototype.execute = function(dish, start_from) {
|
|||
var e = typeof err == "string" ? { message: err } : err;
|
||||
|
||||
e.progress = i;
|
||||
e.display_str = op.name + " - ";
|
||||
if (e.fileName) {
|
||||
e.display_str += e.name + " in " + e.fileName +
|
||||
" on line " + e.lineNumber +
|
||||
".<br><br>Message: " + e.message;
|
||||
e.display_str = op.name + " - " + e.name + " in " +
|
||||
e.fileName + " on line " + e.lineNumber +
|
||||
".<br><br>Message: " + (e.display_str || e.message);
|
||||
} else {
|
||||
e.display_str += e.message;
|
||||
e.display_str = op.name + " - " + (e.display_str || e.message);
|
||||
}
|
||||
|
||||
throw e;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue