Increase tilt message verbosity

For eons have tormented souls feared the wicked power of TILT.

<LOTR opening music starts>

Just like the victims of #10547, we have all spent sleepless nights
wondering what dark magic commands our Sentinel instances.

And just like https://github.com/bitnami/charts/issues/9689
we kept on failing to unveil the dark secrets.

No more!

Let's repel the darkness and print more information,
so that instead of this:

We get info about what condition was actually triggered.

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
This commit is contained in:
Mikolaj Pawlikowski 2025-07-01 14:54:55 +01:00
parent fa040a72c0
commit ea177e4e2e

View file

@ -5447,7 +5447,9 @@ void sentinelCheckTiltCondition(void) {
sentinel.tilt = 1;
sentinel.tilt_start_time = mstime();
sentinel.total_tilt++;
sentinelEvent(LL_WARNING,"+tilt",NULL,"#tilt mode entered");
sentinelEvent(LL_WARNING,"+tilt",NULL,
"#tilt mode entered (now: %lld, delta: %lld, tilt_trigger: %lld)",
now, delta, sentinel_tilt_trigger);
}
sentinel.previous_time = mstime();
}