Skip to content

Commit 6f672db

Browse files
ok ok
1 parent da769cb commit 6f672db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/pg_lsp/src/server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,14 +801,14 @@ impl Server {
801801
self.publish_diagnostics(uri)?;
802802
}
803803
InternalMessage::SetOptions(options) => {
804-
self.update_db_connection(options);
804+
self.update_db_connection(options)?;
805805
}
806806
InternalMessage::SetDatabaseConnection(conn) => {
807807
let current = self.db_conn.replace(conn);
808808
if current.is_some() {
809809
current.unwrap().close().await
810810
}
811-
self.listen_for_schema_updates();
811+
self.listen_for_schema_updates().await?;
812812
}
813813
}
814814

0 commit comments

Comments
 (0)