{"url":"https://kakts.dev/entry/2018/08/15/181449","published":"2018-08-15 18:14:49","type":"rich","blog_url":"https://kakts.dev/","blog_title":"kakts-log","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/kakts/","provider_name":"Hatena Blog","image_url":null,"categories":[],"version":"1.0","description":"In node.js script, without attaching any error handlers to the Promise within a event loop, \"unhandledRejection\" is emitted. The error log is as follows. (node:57974) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function w\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkakts.dev%2Fentry%2F2018%2F08%2F15%2F181449\" title=\"Node.js: UnhandledPromiseRejectionWarning - kakts-log\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","title":"Node.js: UnhandledPromiseRejectionWarning","width":"100%","author_name":"kakts"}