MS Job
This commit is contained in:
parent
83d29bf78d
commit
f1920e16fa
@ -142,7 +142,9 @@ Namespace Jobs
|
||||
Logger.Debug("Documents merged!")
|
||||
|
||||
Dim oOutputDirectoryPath = Path.Combine(Config.ExportPath, ParentFolderUID)
|
||||
Logger.Debug($"oOutputDirectoryPath is {oOutputDirectoryPath}")
|
||||
If Not Directory.Exists(oOutputDirectoryPath) Then
|
||||
Logger.Debug($"Directory not existing. Creating ... ")
|
||||
Directory.CreateDirectory(oOutputDirectoryPath)
|
||||
End If
|
||||
Dim oOutputFilePath = Path.Combine(oOutputDirectoryPath, $"{oEnvelope.Uuid}.pdf")
|
||||
@ -171,6 +173,7 @@ Namespace Jobs
|
||||
Throw New ApplicationException("Envelope could not be finalized")
|
||||
End If
|
||||
Catch ex As Exception
|
||||
Logger.Error(ex)
|
||||
Logger.Warn(ex, $"Unhandled exception while working envelope [{oId}]")
|
||||
End Try
|
||||
|
||||
|
||||
@ -597,6 +597,8 @@ Public Class frmMain
|
||||
End Sub
|
||||
|
||||
Private Sub BarButtonItem2_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles bbtnitm_ResendInvitation.ItemClick
|
||||
Dim oHandle = SplashScreenManager.ShowOverlayForm(Me)
|
||||
Try
|
||||
Dim oView As GridView = GridEnvelopes.FocusedView
|
||||
Dim selReceiver As EnvelopeReceiver
|
||||
If oView.Name = ViewReceivers.Name Then
|
||||
@ -622,6 +624,13 @@ Public Class frmMain
|
||||
End If
|
||||
End If
|
||||
Next
|
||||
Catch ex As Exception
|
||||
Logger.Error(ex)
|
||||
Finally
|
||||
|
||||
|
||||
End Try
|
||||
SplashScreenManager.CloseOverlayForm(oHandle)
|
||||
|
||||
|
||||
End Sub
|
||||
|
||||
@ -68,7 +68,7 @@ Public Class Scheduler_FinishEnvelope
|
||||
|
||||
Await Scheduler.Start()
|
||||
|
||||
Logger.Info("Scheduler started!")
|
||||
Logger.Debug("Scheduler started!")
|
||||
Catch ex As Exception
|
||||
Logger.Error(ex)
|
||||
End Try
|
||||
|
||||
@ -34,7 +34,7 @@ Public Class Service
|
||||
TempFiles.Create()
|
||||
|
||||
' === Initialize Databases ===
|
||||
Logger.Info("Inititalize Database ...")
|
||||
Logger.Debug("Inititalize Database ...")
|
||||
|
||||
If Config.ConnectionString = String.Empty Then
|
||||
Throw New ApplicationException("Connection String is empty!")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user