add error reporting for development evn