aboutsummaryrefslogtreecommitdiff
path: root/src/commands/roll.rs
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2019-03-04 12:52:03 -0500
committerNathan Perry <avaglir@gmail.com>2019-03-04 12:52:03 -0500
commitfc1fcbad504617053d6e8cb63b5eba2f051ec665 (patch)
tree79bbb57463dd0e187d17416a88cab68500a58f15 /src/commands/roll.rs
parent47be7de23836aa97a9283c73bdf90d91c5f45485 (diff)
improve logging and user feedback for commands
Diffstat (limited to 'src/commands/roll.rs')
-rw-r--r--src/commands/roll.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/roll.rs b/src/commands/roll.rs
index a6ea3d8..a2a05ef 100644
--- a/src/commands/roll.rs
+++ b/src/commands/roll.rs
@@ -294,7 +294,7 @@ pub fn roll(_ctx: &mut Context, msg: &Message, args: Args) -> Result<()> {
Err(e) => {
let parse_err = e.downcast::<CalcParseError>().unwrap();
if let CalcParseError::NotReadToEnd { remaining } = parse_err {
- error!("parsing {}: failed to consume '{}'", args.rest(), remaining);
+ error!("parsing '{}': failed to consume '{}'", args.rest(), remaining);
send(msg.channel_id, "I COULDN'T READ THAT YOU FUCK", msg.tts)
} else {
Err(parse_err.into())