Content
View differences
###
### Steps to reproduce
1. Visit [https://community.openproject.org/search.json](https://community.openproject.org/search.json)
2. Observe the 500
### What is the buggy behavior?
We shouldn't generate 500s for obviously invalid requests, as it generates noise in error trackers requests
### What is the expected behavior?
Either return a proper 406, or fix this to return actual content
###
### **Logs**
[https://appsignal.com/openproject-gmbh/sites/673c529383eb67b55471dda2/exceptions/incidents/883](https://appsignal.com/openproject-gmbh/sites/673c529383eb67b55471dda2/exceptions/incidents/883)
`Missing template search/index, application/index with {locale: [:en], formats: [:json], variants: [], handlers: [:raw, :erb, :html, :builder, :ruby]}.`
###
### Steps to reproduce
1. Visit [https://community.openproject.org/search.json](https://community.openproject.org/search.json)
2. Observe the 500
### What is the buggy behavior?
We shouldn't generate 500s for obviously invalid requests, as it generates noise in error trackers
### What is the expected behavior?
Either return a proper 406, or fix this to return actual content
###
### **Logs**
[https://appsignal.com/openproject-gmbh/sites/673c529383eb67b55471dda2/exceptions/incidents/883](https://appsignal.com/openproject-gmbh/sites/673c529383eb67b55471dda2/exceptions/incidents/883)
`Missing template search/index, application/index with {locale: [:en], formats: [:json], variants: [], handlers: [:raw, :erb, :html, :builder, :ruby]}.`
###