error-reporting: moved to service (+tests)