how to disable it. I had reinstall vs code, searched on google but couldn't find anything.
just go for
.catch((error) => {console.log(error)});
or
.catch(()=>{})
.catch((error)=>{})
even though the last one might raise a warning