Reimplement Hook::set_config() for UpdateHook

This commit is contained in:
Matthias Beyer 2016-09-07 20:54:57 +02:00
parent bcf91780aa
commit 6444f95b58

View file

@ -48,7 +48,9 @@ impl Hook for UpdateHook {
}
fn set_config(&mut self, config: &Value) {
self.config = Some(config.clone());
if let Err(e) = self.runtime.set_config(config) {
trace_error(&e);
}
}
}