DNNCommunity / DNNCommunity/Dnn.StructuredContent

We need to not throw back details of general exceptions to the frontend.

Open
#69 0 comments 2 reactions 1 assignee Claimed by @valadas View on GitHub
enhancement
Dominant language
C#
Stars
12
Forks
5
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug
Currently most Web APIs catch `Exception` and throws the details back in the frontend.

It is best practice to give a more generic message on general exceptions because we don't know what failed and it could expose sensitive information.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.