expresso
expresso copied to clipboard
if err.name is blank (not an Error instance), use sys.inspect
Sometimes something other than an Error object gets thrown. This patch will use sys.inspect to show what the err object is if err.name is missing (so you can see what it is instead of just seeing 'undefined').