Commit c042ecb
committed
Truncate error avoiding CookieOverflowError
The error message can be huge, which can result in a ActionDispatch::Cookies::CookieOverflow. Truncate the flash message and output the whole error to the logs.1 parent d6620cc commit c042ecb
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments