affinitiz/facebook-cf-sdk — Issue #29: FacebookBase.cfc error catching
Author: seanford
Created: 2011-12-15 01:57:42+00:00
State: open

To repeat error:

1) Install sample app example.
2) Login
3) In new window, log out of Facebook.
4) Reload App page.
a) Code was invalid or expired error occurs, but then error is thrown via the throw tag.

Possible fix:
Move throw tag from line 75 up to a cfelse around line 73.

73. } cfelse {
74.	throw(errorCode="#exception.getErrorCode()#", message="#exception.getType()# - #exception.getMessage()#", type="#exception.getType()#");
75. }