Missing `console.log()` if `resolve()` returned an error.