mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
There may not be any destinations.
This commit is contained in:
parent
7885ba6d72
commit
c6a2aa9fc7
@ -185,7 +185,7 @@ def dispatch(config,
|
|||||||
return d
|
return d
|
||||||
|
|
||||||
def _maybe_enable_eliot_logging(options, reactor):
|
def _maybe_enable_eliot_logging(options, reactor):
|
||||||
if options["destinations"]:
|
if options.get("destinations"):
|
||||||
service = eliot_logging_service(reactor, options["destinations"])
|
service = eliot_logging_service(reactor, options["destinations"])
|
||||||
# There is no Twisted "Application" around to hang this on so start
|
# There is no Twisted "Application" around to hang this on so start
|
||||||
# and stop it ourselves.
|
# and stop it ourselves.
|
||||||
|
Loading…
Reference in New Issue
Block a user