15-08-23
This commit is contained in:
@@ -63,11 +63,15 @@ Namespace slt
|
||||
End If
|
||||
|
||||
Dim oSQL = String.Format(Config.SQLQueryExport, oDocument.ExtDocId, oFileName)
|
||||
Await Database.ExecuteNonQueryAsync(oSQL)
|
||||
|
||||
RaiseFileProcessed(oFilePath)
|
||||
If Await Database.ExecuteNonQueryAsync(oSQL) = True Then
|
||||
RaiseFileProcessed(oFilePath)
|
||||
Else
|
||||
Throw New ApplicationException("Database entry could not be written!")
|
||||
End If
|
||||
|
||||
Catch ex As Exception
|
||||
RaiseFileError(oDocId)
|
||||
|
||||
Logger.Error(ex)
|
||||
AddWarnEntry("Error while running Sync: " & ex.Message)
|
||||
End Try
|
||||
|
||||
Reference in New Issue
Block a user