We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9437e1c commit 9162038Copy full SHA for 9162038
schema-engine/core/src/lib.rs
@@ -89,9 +89,9 @@ fn connector_for_connection_string(
89
let connector = MongoDbSchemaConnector::new(params);
90
Ok(Box::new(connector))
91
}
92
- Some(_other) => Err(CoreError::url_parse_error(format!(
93
- "Expecting schemes postgres/postgresql/file/mysql/sqlserver/mongodb+srv/mongodb"
94
- ))),
+ Some(_other) => Err(CoreError::url_parse_error(
+ "Expecting schemes postgres/postgresql/file/mysql/sqlserver/mongodb+srv/mongodb",
+ )),
95
None => Err(CoreError::user_facing(InvalidConnectionString {
96
details: String::new(),
97
})),
0 commit comments