Skip to content

Commit

Permalink
Demote exit transition timeout error to warning (#13036)
Browse files Browse the repository at this point in the history
* Demote exit transition timeout error to warning

* Fix

* Format
  • Loading branch information
martenole authored Apr 23, 2024
1 parent f84b440 commit 17f8c92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Framework/Core/src/DataProcessingDevice.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void on_transition_requested_expired(uv_timer_t* handle)
auto* state = (DeviceState*)handle->data;
state->loopReason |= DeviceState::TIMER_EXPIRED;
O2_SIGNPOST_ID_FROM_POINTER(cid, device, handle);
O2_SIGNPOST_EVENT_EMIT_ERROR(device, cid, "callback", "Exit transition timer expired. Exiting.");
O2_SIGNPOST_EVENT_EMIT_WARN(device, cid, "callback", "Exit transition timer expired. Exiting.");
state->transitionHandling = TransitionHandlingState::Expired;
}

Expand Down
2 changes: 1 addition & 1 deletion Framework/Foundation/include/Framework/Signpost.h
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ void o2_debug_log_set_stacktrace(_o2_log_t* log, int stacktrace)
} else if (O2_BUILTIN_UNLIKELY(private_o2_log_##log->stacktrace)) { \
_o2_signpost_event_emit(private_o2_log_##log, id, name, remove_engineering_type(format).data(), ##__VA_ARGS__); \
} \
O2_RAW_LOG_RAW(warn, ##__VA_ARGS__); \
O2_LOG_MACRO_RAW(warn, format, ##__VA_ARGS__); \
})

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

0 comments on commit 17f8c92

Please sign in to comment.