Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Return exception when asking for wrong slugs #5

Open
a-barbieri opened this issue May 18, 2018 · 0 comments
Open

Return exception when asking for wrong slugs #5

a-barbieri opened this issue May 18, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@a-barbieri
Copy link
Contributor

As reported in BindaCMS/binda#192

Expected behavior

Asking the API for a slug that doesn't exists should raise an exception to warn developers.

Actual behavior

An empty string is returned.

How should we return the exception?

@a-barbieri a-barbieri added the enhancement New feature or request label May 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant