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

Feature: provide better errors when a custom preview template fails #4070

Closed
erezrokah opened this issue Jul 26, 2020 · 1 comment
Closed
Labels
area: extensions/preview-templates area: ui/editor/preview-pane good first issue type: feature code contributing to the implementation of a feature and/or user facing functionality

Comments

@erezrokah
Copy link
Contributor

Related to:
#4066
#4031
#3997
#3970

And also https://github.com/netlify/netlify-cms/issues?page=2&q=undefined

Usually the cause for these error is user code.
We should try to display a stack trace/point users to the relevant location in their code where they can fix the error

@erezrokah erezrokah added type: feature code contributing to the implementation of a feature and/or user facing functionality area: ui/editor/preview-pane area: extensions/preview-templates labels Jul 26, 2020
@erezrokah
Copy link
Contributor Author

Closed via #6281

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: extensions/preview-templates area: ui/editor/preview-pane good first issue type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

No branches or pull requests

1 participant