File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,12 @@ injections outputType =
264
264
{
265
265
if (buriedTimestamp !== null) {
266
266
const elapsed = Date.now() - buriedTimestamp;
267
+ // This tries to turn `HomePageMsg (WeatherWidgetMsg (WeatherReportReceived WeatherReport))`
268
+ // into `"HomePageMsg WeatherWidgetMsg WeatherReportReceived"`.
269
+ // The idea is that if the timeout for forwarding messages isn't enough, we want to know what
270
+ // message somebody used that took even longer, but without reporting the entire msg.
271
+ // Note that in `--optimize` mode, the above string would become something like `"1 3 6"`,
272
+ // but it's better than nothing.
267
273
let msgName = '(unknown message)';
268
274
if (msg.$) {
269
275
msgName = msg.$;
You can’t perform that action at this time.
0 commit comments