Release and Development Error Handlers
Modified error handlers for Development and Production/Release