Added error catching to twitch