Project

General

Profile

Bug #4569 » 0003-Fix-Fixed-mentat-storage-failing-on-DB-restart.patch

Radko Krkoš, 05/21/2019 12:32 PM

View differences:

lib/mentat/services/eventstorage.py
751 751
                    self.rollback()
752 752
                    raise DataError(str(err)) from err
753 753

  
754
                except psycopg2.OperationalError as err:
754
                except (psycopg2.OperationalError, psycopg2.InterfaceError) as err:
755 755
                    self.__init__()
756 756
                    exc_store = err
757 757
                    continue
(3-3/4)