bemusic / bemuse

⬤▗▚▚▚ Web-based online rhythm action game. Based on HTML5 technologies, React, Redux and Pixi.js.
https://bemuse.ninja/
GNU Affero General Public License v3.0
1.14k stars 144 forks source link

fix: Fix to catch error from Promise #751

Closed MikuroXina closed 1 year ago

MikuroXina commented 2 years ago

Fix some bugs about catching an error from Promise with try-catch reported by sonarcloud.

Changelog

Improved error handling code in audio handling code.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication