code: def show_script_error(self, parent):
          
          if self.service.scriptRunner.error != '':
              dlg = Gtk.MessageDialog(type=Gtk.MessageType.INFO, buttons=Gtk.ButtonsType.OK,
                                       message_format=self.service.scriptRunner.error)
              self.service.scriptRunner.error = ''
              # revert the tray icon
              self.notifier.set_icon(cm.ConfigManager.SETTINGS[cm.NOTIFICATION_ICON])
              self.notifier.errorItem.hide()
              self.notifier.update_visible_status()
  
          else:
              dlg = Gtk.MessageDialog(type=Gtk.MessageType.INFO, buttons=Gtk.ButtonsType.OK,
                                       message_format=_("No error information available"))
  
          dlg.set_title(_("View script error"))
          dlg.set_transient_for(parent)
          dlg.run()
          dlg.destroy()
docs: Show the last script error (if any)