diff --git a/Service.EDMIService/Methods/GlobalIndexer/ImportFile/ImportFileMethod.vb b/Service.EDMIService/Methods/GlobalIndexer/ImportFile/ImportFileMethod.vb index a81f029a..040ce527 100644 --- a/Service.EDMIService/Methods/GlobalIndexer/ImportFile/ImportFileMethod.vb +++ b/Service.EDMIService/Methods/GlobalIndexer/ImportFile/ImportFileMethod.vb @@ -121,8 +121,8 @@ Namespace Methods.GlobalIndexer.ImportFile Dim oAutoAttributeDict = Helpers.UserAttributesToDictionary(pAutoAttributes) If pPathConvention Is Nothing OrElse pPathConvention = String.Empty Then - Logger.Warn("Virtual path template for File [{0}] was empty. Returning empty string.", pFileInfo.Name) - Return String.Empty + Logger.Warn("Virtual path template for File [{0}] was empty. Returning nothing.", pFileInfo.Name) + Return Nothing End If