Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E_USER_WARNING are not shown in X-Ray #89

Open
owaincuvelier opened this issue Mar 14, 2023 · 7 comments
Open

E_USER_WARNING are not shown in X-Ray #89

owaincuvelier opened this issue Mar 14, 2023 · 7 comments
Assignees
Labels
bug Something isn't working should have

Comments

@owaincuvelier
Copy link

owaincuvelier commented Mar 14, 2023

Investigate an issue where E_USER_WARNING errors are not being surfaced in XRay traces, test code:

php
trigger_error(
'[test]: I am a user warning',
E_USER_WARNING
);

foreach ( false as $foo );

E_USER_WARNING isn't surfaced in the trace.
Screenshot 2023-03-07 at 17 22 50

@owaincuvelier owaincuvelier added bug Something isn't working should have labels Mar 14, 2023
@rmccue
Copy link
Member

rmccue commented Mar 23, 2023

@dianadvorska
Copy link

hey @owaincuvelier . would you be able to provide approx. when are you planning to look at this ticket? thank you!

@dianadvorska
Copy link

It would be helpful to know if it would be in the next two weeks or not as it affects planning for the sprint we are starting Monday the 10th.

@rmccue
Copy link
Member

rmccue commented Apr 12, 2023

@dianadvorska Please note this is an open source/public repository :) We don't provide timelines for bug fixes generally; if this is actively causing problems, please file a support ticket.

@dianadvorska
Copy link

thanks @rmccue . It is causing problems, yes and this ticket is a follow up ticket from a support one :)

@rmccue rmccue self-assigned this Aug 7, 2023
@rmccue
Copy link
Member

rmccue commented Aug 7, 2023

I'm not able to replicate this on the test environment.

With the code

if ( isset( $_GET['rmccue_cause_warning'] ) ) {
	add_action( 'init', function () {
		trigger_error( 'Test warning', E_USER_WARNING );
	}, 100 );
}

I can get this error to show within the Altis Dashboard on a trace:
Screenshot 2023-08-07 at 11 51 21@2x

@rmccue
Copy link
Member

rmccue commented Aug 7, 2023

Have followed up in support to see if there's more detail about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working should have
Projects
None yet
Development

No branches or pull requests

3 participants