catch extension being nothing
This commit is contained in:
@@ -55,6 +55,11 @@ Namespace slt
|
||||
Logger.Info("ExtDocId: [{0}]", oDocument.ExtDocId)
|
||||
|
||||
Dim oFileName = oDocument.GetUniqueFilename()
|
||||
|
||||
If oFileName Is Nothing Then
|
||||
Throw New ApplicationException("Filename or extension could not be determined!")
|
||||
End If
|
||||
|
||||
Dim oFilePath = GetFinalFilePath(oFileName)
|
||||
|
||||
If CopyFileToOutputPath(oDocument.Data, oFilePath) = False Then
|
||||
|
||||
Reference in New Issue
Block a user