Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix compiled-mode error formatting (#5623)
We declare shaka.util.Error to extend the native Error, but only supplied a message field in uncompiled and debug modes. This broke the Jasmine test framework when it tried to extract error message information from a compiled-mode shaka.util.Error object. Now we always supply a message object, and merely skip the fancy enum formatting in compiled mode.
- Loading branch information