Add more debugging and fix some
This commit is contained in:
parent
b2ff632e64
commit
3d66ca2472
5 changed files with 14 additions and 11 deletions
emgauwa-controller/src
|
@ -47,6 +47,7 @@ impl Handler<Reload> for AppState {
|
|||
type Result = Result<(), EmgauwaError>;
|
||||
|
||||
fn handle(&mut self, _msg: Reload, _ctx: &mut Self::Context) -> Self::Result {
|
||||
log::debug!("Reloading controller");
|
||||
let mut pool_conn = block_on(self.pool.acquire())?;
|
||||
|
||||
self.this.reload(&mut pool_conn)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue