mmanos/laravel-social

TokenResponseException handler

Closed this issue · 1 comments

Hi, love this package BTW. I've had problems with token expiration though, if I try to register an exception handler like so:

App::error(function(TokenResponseException $exception) { //nothing I put here works. });

regardless of what the exception closure contains, I get a blank response. Am I missing something obvious?

Ignore me. I'd forgotten the

use OAuth\Common\Http\Exception\TokenResponseException;