mirror of
https://github.com/codex-storage/deluge.git
synced 2025-03-01 03:20:44 +00:00
Fix #1513: Unhandled Twisted Error in test_listen_port
This commit is contained in:
parent
fd3a33af03
commit
1d0857964e
@ -754,7 +754,11 @@ class Core(component.Component):
|
|||||||
def on_get_page(result):
|
def on_get_page(result):
|
||||||
return bool(int(result))
|
return bool(int(result))
|
||||||
|
|
||||||
|
def logError(failure):
|
||||||
|
log.warning("Error testing listen port: %s", failure)
|
||||||
|
|
||||||
d.addCallback(on_get_page)
|
d.addCallback(on_get_page)
|
||||||
|
d.addErrback(logError)
|
||||||
|
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user