removing console.log from which check

The error that gets thrown into the console looks a little scary