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 @@ -583,6 +583,12 @@ injections outputType =
583
583
{
584
584
if (buriedTimestamp !== null) {
585
585
const elapsed = Date.now() - buriedTimestamp;
586
+ // This tries to turn `HomePageMsg (WeatherWidgetMsg (WeatherReportReceived WeatherReport))`
587
+ // into `"HomePageMsg WeatherWidgetMsg WeatherReportReceived"`.
588
+ // The idea is that if the timeout for forwarding messages isn't enough, we want to know what
589
+ // message somebody used that took even longer, but without reporting the entire msg.
590
+ // Note that in `--optimize` mode, the above string would become something like `"1 3 6"`,
591
+ // but it's better than nothing.
586
592
let msgName = '(unknown message)';
587
593
if (msg.$) {
588
594
msgName = msg.$;
You can’t perform that action at this time.
0 commit comments