In the github issue ci2014 (?) posted this comment:
"
You can define the support email address in your site_config.json:
“error_report_email”: “support@example.com”,
If you put the line at the last line in the json object, remove the comma.
The path to site_config.json is ~/frappe-bench/sites/example.com/site_config.json
"