Cleaning up error reporting to get rid of log import.
Reporting cleanup.