created error handling for social channels