Commit e565e8d
committed
Fix unreachable fallback in
This was likely meant as a fallback for non-`std::exception`
exception pointers, but it would never have been reached, because
`(std|boost)::rethrow_exception()` would have thrown those out of
the function scope.
This fixes the fallback by making it a catch handler and also using
the more direct way of getting this fallback diagnostic info inside
a catch handler.DiagnosticInformation(<eptr>)
1 parent 1a52530 commit e565e8d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| 301 | + | |
| 302 | + | |
301 | 303 | | |
302 | | - | |
303 | | - | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
0 commit comments