Commit f065be5
committed
fix: Prevent information exposure through exception messages
Replace direct exception message exposure with generic error messages.
Log full exception details server-side for debugging while returning
safe, generic error messages to users. This addresses CodeQL security
warning about information exposure through exceptions.1 parent 3a50ec9 commit f065be5
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1616 | 1616 | | |
1617 | 1617 | | |
1618 | 1618 | | |
1619 | | - | |
1620 | | - | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
1621 | 1633 | | |
1622 | 1634 | | |
1623 | 1635 | | |
| |||
0 commit comments