error_report when DEBUG file exists
Merge branch 'error_report' into dev