From a827453eb796afa31adc02aa4a5c3c654104ff5a Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 16 Nov 2014 08:31:01 +0100 Subject: [PATCH] Update for an Issue #907 --- plugins/generic/entries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)