Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Improve error messages if a stream on a DataSource isn't found #2521

Closed
iJungleboy opened this issue Sep 17, 2021 · 1 comment
Closed
Assignees

Comments

@iJungleboy
Copy link
Contributor

iJungleboy commented Sep 17, 2021

I'm submitting a ...
[x] feature request

...about
[x] C# Data API
[x] Razor templating
[x] Content Types or data management
[x] APIs like REST

Current behavior

If a stream is requested which doesn't exist, C# will throw a meaningless KeyNotFoundException.

Expected behavior

Better error message.

Your environment

  • 2sxc version(s): 12.04
@iJungleboy iJungleboy self-assigned this Sep 17, 2021
@iJungleboy
Copy link
Contributor Author

Now improved ;)

image

iJungleboy added a commit to 2sic/eav-server that referenced this issue Sep 17, 2021
iJungleboy added a commit that referenced this issue Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant