Add more debugging and fix some

This commit is contained in:
Tobias Reisinger 2024-03-03 22:39:28 +01:00
parent b2ff632e64
commit 3d66ca2472
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 14 additions and 11 deletions
emgauwa-controller/src

View file

@ -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)?;