I have a simple promise, but I wonder why in my catch method I only need to pass "console.log" and it will automatically log that error if it happens?
Does it have something to do with the fact that catch automatically gives us an error object or is it something else?