Skip to content

Commit

Permalink
remove messages in commit_session
Browse files Browse the repository at this point in the history
  • Loading branch information
sjib committed Oct 12, 2024
1 parent afe3cb5 commit 53939be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qgepqwat2ili/gui/gui_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,7 @@ def commit_session(self):
self.session.commit()
except Exception as e:
self.rollback_session(e)
iface.messageBar().pushMessage("Error", f"An error occurred: {e}", level=Qgis.Warning)
iface.messageBar().pushMessage("Error", "Import was canceled", level=Qgis.Warning)

finally:
self.session.close()

Expand Down

0 comments on commit 53939be

Please sign in to comment.