Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions schema-engine/connectors/sql-schema-connector/src/flavour.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,17 +248,7 @@ pub(crate) trait SqlConnector: Send + Sync + Debug {
{
return Ok(Err(PersistenceNotInitializedError));
}
Err(_) => {
// TODO: this is a workaround, as currently the errors thrown by Driver Adapters do not
// match the known user-facing errors we expect.
// We should fix this in the future.
//
// This used to actually yield:
// ```
// err @ Err(_) => err?
// ```
return Ok(Err(PersistenceNotInitializedError));
}
Err(err) => return Err(err),
};

let rows = rows
Expand Down
Loading