Add log for oauth2 exceptions