pijul channel delete: error if channel doesn't exist
[?]
Dec 5, 2020, 6:00 PM
A7NTQINQCT6GSJZIBPWM6KD2HYGV4XBSV7FWLFYY4YKLSEOW57KQCDependencies
- [2]
FMKKWCFVBetter clap attributes - [3]
VQPAUKBQchannel switch as an alias to reset - [4]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [*]
I52XSRUHMassive cleanup, and simplification
Change contents
- edit in pijul/src/commands/channel.rs at line 5[6.6264][2.147]
use anyhow::anyhow; - replacement in pijul/src/commands/channel.rs at line 58
txn.drop_channel(delete)?;if !txn.drop_channel(delete)? {return Err(anyhow!("Channel {} not found", delete));}