Facebook error wasn't getting rescued in the correct place