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

404 on Glide asset urls when there's an invalid container #5094

Merged
merged 3 commits into from
Jan 21, 2022
Merged

404 on Glide asset urls when there's an invalid container #5094

merged 3 commits into from
Jan 21, 2022

Conversation

edalzell
Copy link
Contributor

@edalzell edalzell commented Jan 19, 2022

In debugging an error in glide, I had to add some logging to code in production.

Would be nice to have this all the time, when there are errors.

This also prevents huge call stacks filling up the log as we only log what's relevant.

Fixes #3760

@jasonvarga jasonvarga changed the title Add error handling to Glide controller 404 on Glide asset urls when there's an invalid container Jan 21, 2022
@jasonvarga jasonvarga merged commit ca5fb47 into statamic:3.2 Jan 21, 2022
@edalzell edalzell deleted the fix/glide-error-handling branch January 21, 2022 20:22
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

Successfully merging this pull request may close these issues.

If $container is invalid in GlideController, it's not in the error
2 participants