Skip to content

Commit 17f8c92

Browse files
authored
Demote exit transition timeout error to warning (#13036)
* Demote exit transition timeout error to warning * Fix * Format
1 parent f84b440 commit 17f8c92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Framework/Core/src/DataProcessingDevice.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void on_transition_requested_expired(uv_timer_t* handle)
122122
auto* state = (DeviceState*)handle->data;
123123
state->loopReason |= DeviceState::TIMER_EXPIRED;
124124
O2_SIGNPOST_ID_FROM_POINTER(cid, device, handle);
125-
O2_SIGNPOST_EVENT_EMIT_ERROR(device, cid, "callback", "Exit transition timer expired. Exiting.");
125+
O2_SIGNPOST_EVENT_EMIT_WARN(device, cid, "callback", "Exit transition timer expired. Exiting.");
126126
state->transitionHandling = TransitionHandlingState::Expired;
127127
}
128128

Framework/Foundation/include/Framework/Signpost.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ void o2_debug_log_set_stacktrace(_o2_log_t* log, int stacktrace)
522522
} else if (O2_BUILTIN_UNLIKELY(private_o2_log_##log->stacktrace)) { \
523523
_o2_signpost_event_emit(private_o2_log_##log, id, name, remove_engineering_type(format).data(), ##__VA_ARGS__); \
524524
} \
525-
O2_RAW_LOG_RAW(warn, ##__VA_ARGS__); \
525+
O2_LOG_MACRO_RAW(warn, format, ##__VA_ARGS__); \
526526
})
527527

528528
#define O2_SIGNPOST_START(log, id, name, format, ...) \

0 commit comments

Comments
 (0)