You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix interstitial asset events not firing when attaching primary early for playout-limit change (video-dev#7467)
* Fix interstitial asset events not firing when attaching primary early for playout-limit change
* Add log message helper for timeline position updates
Copy file name to clipboardExpand all lines: docs/API.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -569,7 +569,9 @@ This configuration will be applied by default to all instances.
569
569
570
570
(default: `false`)
571
571
572
-
Setting `config.debug = true;` will turn on debug logs on JS console.
572
+
Setting `config.debug = true` enables JavaScript debug console logs. Debug mode also disables catching exceptions in even handler callbacks.
573
+
In debug mode, when an event listener throws, the exception is not caught. This allows uncaught exeptions to trigger the JavaScript debugger.
574
+
In production mode (`config.debug = false`), exceptions that are caught in event handlers are redispatched as errors with `type: OTHER_ERROR, details: INTERNAL_EXCEPTION, error: <caught exception>`.
573
575
574
576
A logger object could also be provided for custom logging: `config.debug = customLogger;`.
0 commit comments