mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix #1513: Unhandled Twisted Error in test_listen_port
This commit is contained in:
parent
fd3a33af03
commit
1d0857964e
1 changed files with 4 additions and 0 deletions
|
@ -754,7 +754,11 @@ class Core(component.Component):
|
|||
def on_get_page(result):
|
||||
return bool(int(result))
|
||||
|
||||
def logError(failure):
|
||||
log.warning("Error testing listen port: %s", failure)
|
||||
|
||||
d.addCallback(on_get_page)
|
||||
d.addErrback(logError)
|
||||
|
||||
return d
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue