Fix bogus comparison operation that was breaking error handling
This commit is contained in:
parent
8842832cf4
commit
257e245944
@ -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