3liz / qgis-pgmetadata-plugin

QGIS Plugin to manage some metadata from PostgreSQL layer
GNU General Public License v2.0
12 stars 10 forks source link

Do not raise exception if a pgmetadata base is not reachable #94

Closed Gustry closed 2 years ago

Gustry commented 2 years ago

One PgMetadata database is not reachable, you will have a python exception everytime you are trying to add a layer from postgis (another DB):

Connection manager L28 is the issue:

    if 'pgmetadata' not in connection.schemas():
Gustry commented 2 years ago

Fixed in dac7147aa24d0240c550c2e7b205c3dd704162f8