[NEXUS-5808] Improve logged/exception message