Quantcast
Channel: Active questions tagged mongodb-atlas - Stack Overflow
Viewing all articles
Browse latest Browse all 271

How to check if mongodb atlas is connected? [closed]

$
0
0

I have this but no matter what I put inside it it does not throw any errors... How to make it show all errors? I dont know if I am connected because nothing gets POSTed.

import mongoose, { Schema } from "mongoose";mongoose.connect(URI).catch((error) => handleError(error));

So even this has no error... mongoose.connect(adsfasdfsdfafd);


Viewing all articles
Browse latest Browse all 271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>