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

better error messages for active record failures #280

Closed
catmando opened this issue Nov 15, 2019 · 0 comments
Closed

better error messages for active record failures #280

catmando opened this issue Nov 15, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@catmando
Copy link
Contributor

If you have an error in your active record model setup, you will not get very helpful messages out the system.

For example we recently encountered a scope definition that in some cases was unacceptable to Postgresql. The resulting error message gave no hint as to what the problem was.

Instead we should catch errors, and then add additional information about the active record expression being evaluated.

@catmando catmando added the enhancement New feature or request label Nov 15, 2019
@catmando catmando added this to To do in ALPHA to production via automation Nov 15, 2019
ALPHA to production automation moved this from To do to Done Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant