enchance an error logging message