-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: error when sound files are not present
- Loading branch information
1 parent
e8573ed
commit c385545
Showing
2 changed files
with
12 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@bitflow/shell": patch | ||
--- | ||
|
||
Fix: Error when attempting to play a sound file which is not available. This | ||
bug has existed because new Audio(url).play() returns a promise, therefore the | ||
error, which was thrown was not caught. Now we are catching the error. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c385545
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
bitflow – ./
bitflow-git-main-openpatch.vercel.app
bitflow-openpatch.vercel.app
bitflow-docs.vercel.app
bitflow.openpatch.org