Merge pull request #5444 from apjanke/fix-undefined-cmd-for-FormulaUnavailableError
Fix bogus comparison operation that was breaking error handling
This commit is contained in:
commit
406272f007
@ -202,7 +202,7 @@ rescue Exception => e # rubocop:disable Lint/RescueException
|
||||
error_hash["cmd"] = e.cmd
|
||||
error_hash["args"] = e.args
|
||||
error_hash["env"] = e.env
|
||||
elsif error_hash["json_class"] = "ErrorDuringExecution"
|
||||
elsif error_hash["json_class"] == "ErrorDuringExecution"
|
||||
error_hash["cmd"] = e.cmd
|
||||
error_hash["status"] = e.status.exitstatus
|
||||
error_hash["output"] = e.output
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user