fix(errors): handle if err.message == undefined, send err