diff --git a/python/plugins/db_manager/dlg_sql_window.py b/python/plugins/db_manager/dlg_sql_window.py index 676dc27d8d4..fab5c077e11 100644 --- a/python/plugins/db_manager/dlg_sql_window.py +++ b/python/plugins/db_manager/dlg_sql_window.py @@ -429,6 +429,8 @@ class DlgSqlWindow(QWidget, Ui_Dialog): if layer.isValid(): return layer else: + e = BaseError(self.tr("There was an error creating the SQL layer, please check the logs for further information.")) + DlgDbError.showError(e, self) return None def loadSqlLayer(self):