chore(shadow): log source read root causes

This commit is contained in:
zgw
2026-08-28 10:27:00 +08:00
parent 01c94663c2
commit da9d311ee5

View File

@@ -138,6 +138,10 @@ public final class Ft546ShadowScheduler implements AutoCloseable {
LOGGER.warn("FT546 shadow source read failed: {}; retry after {} ms",
readFailure.getReasonCode(),
readFailure.getRetryAfter().toMillis());
if (readFailure.getCause() != null) {
LOGGER.warn("FT546 shadow source read root cause",
readFailure.getCause());
}
return false;
}
if (failure instanceof Error) {