Variable hasnt to be mutable

This commit is contained in:
Matthias Beyer 2016-09-18 18:51:50 +02:00
parent cae605d21b
commit cf77c51afb
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ impl Runtime {
.map_err_into(GHEK::ConfigError)
.map_err(Box::new)
.map_err(|e| HEK::HookExecutionError.into_error_with_cause(e))
.map_err(|mut e| e.with_custom_data(CustomData::default().aborting(false)))
.map_err(|e| e.with_custom_data(CustomData::default().aborting(false)))
.map_dbg_err(|_| {
format!("[GIT {} HOOK]: Couldn't get Value object from config", action.uppercase())
})