title: LaunchUriAsync throwing exception when used in JavaScript
body: <p>I am trying to call LaunchUriAsync from a cshtml view using JavaScript code. Below is my code.</p>
  <pre><code>try {
      let appStatus = Windows.System.Launcher.LaunchUriAsync(new Windows.Foundation.Uri(&quot;https://www.google.com&quot;)).done(
          function (success) {
              console.log(&quot;launch complete&quot;);
              if (success) {
                  console.log(&quot;launch success&quot;)
              } else {
                  console.log(&quot;launch failed&quot;)
              }
          }, function (err) {
              console.log(&quot;launch error&quot;)
          });
  }
  catch (ex) {
      console.log(&quot;launch throws&quot;)
      console.log(JSON.stringify(ex))
  }
  </code></pre>
  <p>I am getting the output &quot;launch throws&quot; but I am getting empty exception logged to console so not really understanding what is the exception that is thrown. Any idea why this might be throwing?</p>