Skip to content

Commit

Permalink
Fix bug in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tailhook committed Jul 2, 2018
1 parent 6895aa1 commit a172d4c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/daemon/query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,15 @@ pub fn run(init: ResponderInit) {
let new = wasm::Responder::new(&schedule,
&init.settings, &query_file);
match new {
Ok(new) => Impl::Wasm(new),
Ok(new) => {
debug!("Initialized wasm query engine");
Impl::Wasm(new)
}
Err(e) => {
error!("Error initializing query module: {}", e);
continue;
}
}
debug!("Initialized wasm query engine");
} else {
let new = compat::Responder::new(&schedule, &init.settings);
debug!("Initialized compatibility query engine");
Expand Down

0 comments on commit a172d4c

Please sign in to comment.