catch extension being nothing
This commit is contained in:
parent
260b81f0c4
commit
4e7e3ff91f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user