mirror of
https://github.com/logos-storage/deluge.git
synced 2026-01-26 00:43:07 +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):
|
||||
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…
x
Reference in New Issue
Block a user