File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
itext/itext.cleanup/itext/pdfcleanup Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ source product.
6060using System . Collections . Generic ;
6161using System . Reflection ;
6262using System . IO ;
63+ using iText . IO . Log ;
6364using Versions . Attributes ;
6465using iText . Kernel ;
6566
@@ -209,7 +210,7 @@ private static Type GetClass(string className)
209210 {
210211 fileLoadExceptionMessage = fileLoadException . Message ;
211212 }
212- if ( fileLoadExceptionMessage ! = null )
213+ if ( type = = null )
213214 {
214215 try
215216 {
@@ -219,6 +220,9 @@ private static Type GetClass(string className)
219220 {
220221 // empty
221222 }
223+ if ( type == null && fileLoadExceptionMessage != null ) {
224+ LoggerFactory . GetLogger ( typeof ( PdfCleanUpTool ) ) . Error ( fileLoadExceptionMessage ) ;
225+ }
222226 }
223227 }
224228 return type ;
You can’t perform that action at this time.
0 commit comments