Skip to content

feat(NODE-4721): add aws-sdk as optional dependency #3446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Oct 18, 2022
Prev Previous commit
Next Next commit
test(NODE-4721): fix error name
  • Loading branch information
durran committed Oct 14, 2022
commit 3825a3229e8cf630057d82c79281033e146766b9
2 changes: 1 addition & 1 deletion src/cmap/auth/mongodb_aws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function makeTempCredentials(credentials: MongoCredentials, callback: Callback<M
.catch(error => {
/* eslint no-console: 0 */
console.log('AWS ERROR', error);
callback(new MongoAwsError(error.message));
callback(new MongoAWSError(error.message));
});
}
}
Expand Down