Fork me on GitHub
#unrepl
<
2018-04-02
>
cgrand09:04:56

@kotarak why and how exactly? @volrath is pushing for different elision settings when printing exceptions.

volrath09:04:50

^can confirm

kotarak11:04:29

@cgrand In general it is not really a problem for user code. But it might also mean that something in the machinery itself is shaken. Then having to use the shaken machinery to obtain more info about the shaken machinery.... That gives me the creeps.

kotarak11:04:53

Stack traces and cause chains are usually not infinite.

kotarak11:04:04

I don't see the use of elision there.

kotarak11:04:24

In exceptional situtations you shouldn't have to do unnecessary jambowambo.

cgrand11:04:14

@kotarak SO exception are still huge (can be mitigated by client rendering though). Plus payloads (ex-data) can be infinite.

kotarak17:04:38

@cgrand ex-data could be special cased. Rendering is a completely different thing. The client does not need to render thirty pages of stack frames. But it has the information available if requested. Without another highly non-trivial loop.

kotarak17:04:15

Complexity is the enemy. In particular in potentially broken situations.