#3465: Non-interactive deluge-console hangs on twisted errors
-------------------------+---------------------
  Reporter:  jschauer    |      Owner:
      Type:  bug         |     Status:  new
  Priority:  minor       |  Milestone:  2.1.0
 Component:  Console UI  |    Version:  develop
Resolution:              |   Keywords:
-------------------------+---------------------

Comment (by Cas):

 Probably need something like:

 {{{
 -            if reason.check(DelugeError):
 +            try:
                  rm = reason.getErrorMessage()
 -            else:
 +            except AttributeError:
                  rm = reason.value.message
 }}}

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3465#comment:2>
Deluge <https://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to deluge-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/deluge-dev/062.89bb6774defe2944cdf0ada4589691af%40deluge-torrent.org.

Reply via email to