We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
homeserver_connection_from_config
1 parent 884c668 commit 453e1dbCopy full SHA for 453e1db
crates/cli/src/commands/manage.rs
@@ -325,7 +325,8 @@ impl Options {
325
let matrix_config =
326
MatrixConfig::extract(figment).map_err(anyhow::Error::from_boxed)?;
327
let http_client = mas_http::reqwest_client();
328
- let homeserver = homeserver_connection_from_config(&matrix_config, http_client);
+ let homeserver =
329
+ homeserver_connection_from_config(&matrix_config, http_client).await?;
330
let mut conn = database_connection_from_config(&database_config).await?;
331
let txn = conn.begin().await?;
332
let mut repo = PgRepository::from_conn(txn);
0 commit comments