Skip to content

Commit ac05dee

Browse files
ehellbarktf
authored andcommitted
DPL: print error when exit transition timer expires
1 parent aee6ae7 commit ac05dee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Framework/Core/src/DataProcessingDevice.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ void on_transition_requested_expired(uv_timer_t* handle)
138138
O2_SIGNPOST_ID_FROM_POINTER(cid, device, handle);
139139
auto& spec = ref->get<DeviceSpec const>();
140140
if (hasOnlyGenerated(spec)) {
141-
O2_SIGNPOST_EVENT_EMIT_INFO(calibration, cid, "callback", "Grace period for source expired. Exiting.");
141+
O2_SIGNPOST_EVENT_EMIT_ERROR(calibration, cid, "callback", "DPL exit transition grace period for source expired. Exiting.");
142142
} else {
143-
O2_SIGNPOST_EVENT_EMIT_INFO(calibration, cid, "callback", "Grace period for %{public}s expired. Exiting.",
144-
state.allowedProcessing == DeviceState::CalibrationOnly ? "calibration" : "data & calibration");
143+
O2_SIGNPOST_EVENT_EMIT_ERROR(calibration, cid, "callback", "DPL exit transition grace period for %{public}s expired. Exiting.",
144+
state.allowedProcessing == DeviceState::CalibrationOnly ? "calibration" : "data & calibration");
145145
}
146146
state.transitionHandling = TransitionHandlingState::Expired;
147147
}

0 commit comments

Comments
 (0)