Add post on error handling in Go