putting the post in a try block