Skip to content

Commit

Permalink
bareos-fd-postgres: only catching InterfaceError exception
Browse files Browse the repository at this point in the history
  • Loading branch information
lluuaapp committed Dec 1, 2022
1 parent 168acf8 commit ca66f5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def restore_object_data(self, ROP):
def __dbConClose(self):
try:
self.dbCon.close()
except Exception as e:
except pg8000.exceptions.InterfaceError as e:
pass

def closeDbConnection(self):
Expand Down

0 comments on commit ca66f5f

Please sign in to comment.