Since we strip away valuable error diagnostic information by converting it to a {code, msg} object, can you log the real `Error` object here?