Skip to content

Commit c16c54f

Browse files
committed
Don't unexpectingly fail on auth
1 parent 73284e2 commit c16c54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/mongoshrc.js.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if (authRequired()) {
4141
}
4242
catch (err) {
4343
// This isn't catching authentication errors as I'd expect...
44-
throw(err)
44+
// Silently ignore this error, we can't really do anything about it.
4545
}
4646
}
4747
<% end -%>

0 commit comments

Comments
 (0)