<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suzaku0914</author_name>
  <author_url>https://blog.hatena.ne.jp/suzaku0914/</author_url>
  <blog_title>エンターテイメント！！</blog_title>
  <blog_url>https://suzaku-tec.hatenadiary.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>プログラミング</anon>
    <anon>ログ</anon>
  </categories>
  <description>きっかけ Promise内で、Uncaughtが発生している箇所があったが、ログ追ってもなかなかそこまでたどり着けなかったので晒す。 原因事象 ごめんなさい。。。JS詳しくないので、Typescriptです。。。 class Test { get(): Promise&lt;{}&gt; { return new Promise(() =&gt; { var a; a.test(); console.log(&quot;test&quot;); }) } } new Test().get().then(() =&gt; { return new Promise(() =&gt; console.log(&quot;fire!&quot;)); }).catch(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzaku-tec.hatenadiary.jp%2Fentry%2F2017%2F11%2F22%2F191356&quot; title=&quot;Promise内のUncaughtで困った話 - エンターテイメント！！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-22 19:13:56</published>
  <title>Promise内のUncaughtで困った話</title>
  <type>rich</type>
  <url>https://suzaku-tec.hatenadiary.jp/entry/2017/11/22/191356</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
