exoplatform / chat-application

Chat application
GNU Affero General Public License v3.0
38 stars 57 forks source link

fix: swallowed exception when updating the preferences of notifications - EXO-64706 #625

Closed ahamdi closed 1 year ago

ahamdi commented 1 year ago

When an exception occurs while saving user preferences for Chat notifications, the error is swallowed and no trace is there. the fix will fill the catch blocks and fixes the cast error of BasicDBObject to a Bson Document.

sonarcloud[bot] commented 1 year 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 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication