mirror of
https://github.com/SELinuxProject/setools
synced 2025-04-11 03:51:26 +00:00
ApolMainWindow: Adjust save tab error messages.
This commit is contained in:
parent
0712651b3d
commit
cf2adac95b
@ -414,10 +414,10 @@ class ApolMainWindow(SEToolsWidget, QMainWindow):
|
||||
try:
|
||||
settings = self._get_settings()
|
||||
|
||||
except TabError:
|
||||
self.log.critical("Errors in the query prevent saving the settings.")
|
||||
except TabError as ex:
|
||||
self.log.critical("Errors in the query prevent saving the settings. {0}".format(ex))
|
||||
self.error_msg.critical(self, "Unable to save settings",
|
||||
"Please resolve errors in the query before saving the settings."
|
||||
"Please resolve errors in the tab before saving the settings."
|
||||
)
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user