Skip to content

Commit b8882c9

Browse files
durrandariakp
andauthored
Update src/connection_string.ts
Co-authored-by: Daria Pardue <[email protected]>
1 parent f393d5a commit b8882c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/connection_string.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ export function parseOptions(
427427
const { username, password } = mongoOptions.credentials;
428428
if (username || password) {
429429
throw new MongoAPIError(
430-
'username and password cannot be provided when using MONGODB-AWS. Credentials must be read in a manner that can be read by the AWS SDK'
430+
'username and password cannot be provided when using MONGODB-AWS. Credentials must be provided in a manner that can be read by the AWS SDK.'
431431
);
432432
}
433433
if (mongoOptions.credentials.mechanismProperties.AWS_SESSION_TOKEN) {

0 commit comments

Comments
 (0)