mirror of
https://github.com/sadoyan/aralez.git
synced 2026-06-10 09:14:18 +08:00
Error handling on API server
This commit is contained in:
@@ -21,6 +21,7 @@ impl BackgroundService for LB {
|
||||
let tx_api = tx.clone();
|
||||
let config = load_configuration(self.config.upstreams_conf.clone().as_str(), "filepath")
|
||||
.await
|
||||
.0
|
||||
.expect("Failed to load configuration");
|
||||
|
||||
match config.typecfg.as_str() {
|
||||
|
||||
Reference in New Issue
Block a user