Modify

#732 closed defect (worksforme)

Commands do not fail gracefully

Reported by: Ben Hussey <ben@…> 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 Wilmer van der Gaast <wilmer@…>

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.)

comment:2 Changed at 2010-12-12T22:23:29Z by Ben Hussey <ben@…>

<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 Wilmer van der Gaast <wilmer@…>

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 dx

Resolution: worksforme
Status: newclosed

Not sure why this one was left open

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.