diff --git a/plugins/generic/entries.py b/plugins/generic/entries.py index 7fac3c903..30d2213fc 100644 --- a/plugins/generic/entries.py +++ b/plugins/generic/entries.py @@ -339,7 +339,7 @@ class Entries: "db": safeSQLIdentificatorNaming(conf.db)} try: attackDumpedTable() - except Exception, ex: + except (IOError, OSError), ex: errMsg = "an error occurred while attacking " errMsg += "table dump ('%s')" % ex logger.critical(errMsg)