[tor-bugs] #14024 [Onionoo]: web-app configuration error handling
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Dec 28 11:11:29 UTC 2014
#14024: web-app configuration error handling
-----------------------------+-----------------
Reporter: iwakeh | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Onionoo | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-----------------------------+-----------------
Comment (by karsten):
Replying to [ticket:14024 iwakeh]:
> I suggest for DocumentStore.setOutDir checking if the out directory
exists
> and throwing an error if not.
>
> In (the very likely) case that someone doesn't follow the INSTALL file
> suggestion to use '/srv/onionoo' as working directory, the missing
folder
> is reported immediatly.
Yes, good idea. Want to submit a patch for this?
> And, maybe add some hint about changing 'etc/web.xml.template' to the
top
> of INSTALL? Like "If you choose a different working directory make sure
> its path is reflected in the following files: ..."
Or should we take this parameter out of `etc/web.xml.template`? We could
default to `out/` in the current working directory, and accept a command-
line parameter to override that default similar to the logging directory.
Does that make sense?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14024#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list