Fix git hook registration fail warn message.

This commit is contained in:
Matthias Beyer 2016-09-18 14:44:08 +02:00
parent 9b332815b9
commit 40dbdaa5e1

View file

@ -147,7 +147,7 @@ impl<'a> Runtime<'a> {
if let Err(e) = store.register_hook(position, &String::from(aspectname), hook) { if let Err(e) = store.register_hook(position, &String::from(aspectname), hook) {
if e.err_type() == StoreErrorKind::HookRegisterError { if e.err_type() == StoreErrorKind::HookRegisterError {
trace_error_dbg(&e); trace_error_dbg(&e);
warn!("Registering debug hook with store failed"); warn!("Registering git hook with store failed");
} else { } else {
trace_error(&e); trace_error(&e);
}; };