Nov-23-2019, 11:35 PM
Sorry that was just a typo, I did enter it as KeyError.
This works as expected, only output is "an exception occurred":
This works as expected, only output is "an exception occurred":
try: PdfTitle = 1 / 0 except: print("an exception occurred")This does not catch the exception, it is still raised and the "an exception occurred" is not output:
try: PdfTitle = pdftitle.run(FilePath) except: print("an exception occurred")