[tahoe-lafs-trac-stream] [tahoe-lafs] #1763: NoServersError raised to user
tahoe-lafs
trac at tahoe-lafs.org
Fri Jun 8 15:52:33 UTC 2012
#1763: NoServersError raised to user
---------------------------------+---------------------------
Reporter: zooko | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: code-frontend-cli | Version: 1.9.1
Keywords: usability cli error | Launchpad Bug:
---------------------------------+---------------------------
{{{
\"/home/some/Downloads/allmydata-
tahoe-1.9.0-r5844/src/allmydata/immutable/
upload.py\", line 213, in get_shareholders\x0a raise
NoServersError(\"client gave us zero
servers\")\x0aallmydata.interfaces.NoServersError: client gave us zero
}}}
This is an example of "stack traces should never be displayed to the
user". Instead, the cli should catch exceptions of this type and print out
a nice explanation to the user about what is wrong and how to diagnose and
fix it.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1763>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list