diff --git a/Modules.Jobs/EDMI/GraphQL/GraphQLJob.vb b/Modules.Jobs/EDMI/GraphQL/GraphQLJob.vb index f32b9b8b..61529477 100644 --- a/Modules.Jobs/EDMI/GraphQL/GraphQLJob.vb +++ b/Modules.Jobs/EDMI/GraphQL/GraphQLJob.vb @@ -68,6 +68,10 @@ Public Class GraphQLJob Dim oResultList = oObj.SelectToken(QueryData.MappingBasePath) Dim oMappings = QueryData.MappingFields + If oResultList Is Nothing Then + _Logger.Warn("HandleResponse: Could not find BasePath: {0}", QueryData.MappingBasePath) + End If + _Logger.Info("Processing Queue [{0}] with [{1}] Items", QueryData.Name, oResultList.Count) If QueryData.ClearBeforeFill Then @@ -85,9 +89,13 @@ Public Class GraphQLJob Dim oKeys As New List(Of String) For Each oMapping In oMappings - Dim oValue = oResultItem.SelectToken(oMapping.SourcePath).ToString() + Dim oToken = oResultItem.SelectToken(oMapping.SourcePath) - oValues.Add(oValue) + If oToken Is Nothing Then + _Logger.Warn("HandleResponse: Could not find SourcePath: {0}", oMapping.SourcePath) + End If + + oValues.Add(oToken.ToString()) oKeys.Add(oMapping.DestinationColumn) Next diff --git a/Modules.Jobs/My Project/AssemblyInfo.vb b/Modules.Jobs/My Project/AssemblyInfo.vb index c555899d..245cf1bc 100644 --- a/Modules.Jobs/My Project/AssemblyInfo.vb +++ b/Modules.Jobs/My Project/AssemblyInfo.vb @@ -30,5 +30,5 @@ Imports System.Runtime.InteropServices ' Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern ' übernehmen, indem Sie "*" eingeben: - +