Added error messages to prod