Stop logging errors and start throwing exceptions