element-web/src/rageshake
David Baker 796f5746db Truncate debug logs at the start, not the end
We left out later parts if we exceeded the maximum log size, which
was deeply unhelpful since the problem almost certainly happened
just before the user hit the 'submit debug logs' button.

Instead, iterate backwards through the fragments and prepend them,
leaving off the earlier ones if we run over the size.

Also, check we're not going to run over the size before adding
the fragment so we might actually stick to the maximum log size.

May fix https://github.com/vector-im/riot-web/issues/10951
2019-09-26 18:46:19 +01:00
..
rageshake.js Truncate debug logs at the start, not the end 2019-09-26 18:46:19 +01:00
submit-rageshake.js Fix some more lint errors 2018-10-11 22:06:01 -05:00