BetterErrors / better_errors

Better error page for Rack apps
MIT License
6.88k stars 436 forks source link

Integration with syntax_suggest #510

Open ibrahima opened 2 years ago

ibrahima commented 2 years ago

Hi! I recently heard about the syntax_suggest gem (which sounds like it's going to become a standard gem in a future Ruby version). I know better_errors already has some similar functionality (e.g. hints when something is nil). I notice that with syntax_suggest installed, I do get the more detailed error messages in my Rails logs, but better_errors only shows the original error messages. Would it be possible to somehow integrate with syntax_suggest if available to show its error messages when possible? Thanks!