Warning: Please consider that this post is over 6 years old and the content may no longer be relevant.
Will result in seeing the error ‘new error’ logged by the console. The promise then / catch functions are never called. Whereas:
Will allow the Promise to handle the error and pass it to the catch function, resulting in ‘there was an error’ in the console.