title: How to capture error with Mediapipe camera object
body: <p>I am using the mediapipe Camera object imported by '@mediapipe/camera_utils/camera_utils'</p>
  <p>It is working fine most of the times, but sometimes an error is thrown inside this 'camera_utils' file but I don't know how to capture and handle it.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>        try {
              this.camera = new Camera(this.video, {
                  onFrame: recursiveCamera,
                  width: width / 2,
                  height: height,
              });
          } catch (error) {
              console.log('error camera mediapipe captured ', error)
          }</code></pre>
  </div>
  </div>
  </p>
  <p>I am running this try/catch but even if the exception is thrown, it is not captured by the try/catch</p>
  <p>It is easily reproducible if you throw and exception inside the 'camera_utils' file like 'throw Error(&quot;The play() request has been denied by the user&quot;)'</p>
  <p>Thank you!!</p>