Skip to content

Commit

Permalink
things are happening
Browse files Browse the repository at this point in the history
  • Loading branch information
realFlowControl committed Sep 11, 2024
1 parent dbf0ec8 commit 13f4873
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion profiling/src/timeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,13 @@ unsafe extern "C" fn ddog_php_prof_frankenphp_handle_request(
#[cfg(zend_error_observer)]
unsafe extern "C" fn ddog_php_prof_zend_error_observer(
_type: i32,
#[cfg(zend_error_observer_80)] file: *const i8,
#[cfg(zend_error_observer_80)] file: *const c_char,
#[cfg(not(zend_error_observer_80))] file: *mut zend::ZendString,
line: u32,
message: *mut zend::ZendString,
) {
// we are only interested in FATAL errors

if _type & zend::E_FATAL_ERRORS as i32 == 0 {
return;
}
Expand Down

0 comments on commit 13f4873

Please sign in to comment.