Update oauth2.gs

Use correct variable name for for logging errors.
Merge pull request #2 from ayyar/patch-1

Update oauth2.gs