Update oauth2.gs

Use correct variable name for for logging errors.