Modify ↓
Opened at 2010-12-11T22:15:46Z
Closed at 2016-10-18T08:08:26Z
#732 closed defect (worksforme)
Commands do not fail gracefully
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | BitlBee | Version: | 3.0.1 |
Keywords: | Cc: | ||
IRC client+version: | Client-independent | Operating System: | Linux |
OS version/distro: |
Description
When trying to use various commands block X, account X list is is not obvious what the problem is when they fail due to the account not being logged in. e.g.
22:08:58 @<blip2> account 0 list 22:08:58 @<root> Unknown command: account [...] list. Please use help commands to get a list of available commands.
22:05:16 @<blip2> root: block 0 22:05:16 @<root> Nick `0' does not exist
After logging in the command works as expected. Ideally should raise a more informative error message.
Attachments (0)
Change History (4)
comment:1 Changed at 2010-12-12T22:16:46Z by
comment:2 Changed at 2010-12-12T22:23:29Z by
<root> Available actions: add, del, list, on, off and set. See help account <action> for more information.
root says otherwise. but thanks!
comment:3 Changed at 2010-12-12T22:25:28Z by
Try "account list".
"help account list" will show this, but I guess it would've helped to somehow point this out in "help account" already.
comment:4 Changed at 2016-10-18T08:08:26Z by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Not sure why this one was left open
Note: See
TracTickets for help on using
tickets.
Hmm, what do you expect "account X list" to do? That command doesn't exist..
(Otherwise, fair enough. Error reporting is hard. I may get around to fixing that sometimes, but would also definitely welcome patches.)