diff --git a/lib/core/option.py b/lib/core/option.py index 1e79761d2..4fcebecc7 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -639,7 +639,7 @@ def _findPageForms(): except KeyboardInterrupt: break except Exception, ex: - errMsg = "problem occurred while searching for forms at '%s' ('%s')" % (target, ex) + errMsg = "problem occurred while searching for forms at '%s' ('%s')" % (target, getSafeExString(ex)) logger.error(errMsg) def _setDBMSAuthentication():