Repository navigation
Commit 805ee00
Filter backtrace before format in handle_exception (#916)
handle_exception now applies the filter_backtrace to exception
backtraces prior to formatting the lines with Exception#full_message
This fixes a bug in upstream projects, notably Rails, where the
backtrace filtering logic expects the lines to be formatted as
Exception#backtrace.
Co-authored-by: Hartley McGuire <skipkayhil@gmail.com>1 parent 2057248 commit 805ee00
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1222 | 1222 | | |
1223 | 1223 | | |
1224 | 1224 | | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
1225 | 1232 | | |
1226 | 1233 | | |
1227 | 1234 | | |
| |||
1246 | 1253 | | |
1247 | 1254 | | |
1248 | 1255 | | |
1249 | | - | |
1250 | 1256 | | |
1251 | 1257 | | |
1252 | 1258 | | |
| |||
0 commit comments