Improvements to error reporting system