lucky
lucky copied to clipboard
Error: undefined local variable or method 'params' for Errors::Show
I'm actually shocked I haven't seen this before... Apparently you can't call params inside of an Error Action.... This data comes from context which is available inside of errors https://github.com/luckyframework/lucky/blob/e1a6adf8552676884e67528293d3142032387b4b/src/lucky/context_extensions.cr#L37
You may need this data for sending extra information to a bug reporting, or maybe for getting a current_user or something.