handle exception for facebook post and rake task