Improved error handling on producer methods