mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Convert exception to string first; Fixes #2157
This commit is contained in:
parent
74296582e2
commit
82be54a353
2 changed files with 4 additions and 1 deletions
|
|
@ -513,7 +513,7 @@ class ScanInterface(HIGVBox):
|
|||
except Exception, e:
|
||||
warn_dialog = HIGAlertDialog(
|
||||
message_format=_("Error executing command"),
|
||||
secondary_text=unicode(e, errors='replace'),
|
||||
secondary_text=unicode(str(e), errors='replace'),
|
||||
type=gtk.MESSAGE_ERROR)
|
||||
warn_dialog.run()
|
||||
warn_dialog.destroy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue