Skip to content

[4.0] Exception handler with debug enabled, second try#28494

Merged
wilsonge merged 2 commits intojoomla:4.0-devfrom
Fedik:error-handler2
Mar 30, 2020
Merged

[4.0] Exception handler with debug enabled, second try#28494
wilsonge merged 2 commits intojoomla:4.0-devfrom
Fedik:error-handler2

Conversation

@Fedik
Copy link
Copy Markdown
Member

@Fedik Fedik commented Mar 28, 2020

Summary of Changes

Fix for #27632

Since internal changes in Symfony\Component\ErrorHandler\ErrorHandler my previous changes #27632 make no sense anymore 😃

@wilsonge sorry for confusing

Testing Instructions

Please repeat test from #27632

Expected result

You should be able to see exception message with trace when Debug enabled

Actual result

You see only "Oops! An Error Occurred"

@wilsonge
Copy link
Copy Markdown
Contributor

I just noticed this is missing touching the api/includes/framework.php file (and was previously too) - can we fix that please?

@Fedik
Copy link
Copy Markdown
Member Author

Fedik commented Mar 29, 2020

I was not sure if it need there,
But yes of course, I will add

@wilsonge
Copy link
Copy Markdown
Contributor

We're going to ideally pipe out as JSON instead of HTML but yes we want the same error handling levels etc. and HTML is fine for the first pass

@Fedik
Copy link
Copy Markdown
Member Author

Fedik commented Mar 30, 2020

added

@wilsonge wilsonge merged commit cfa9345 into joomla:4.0-dev Mar 30, 2020
@wilsonge
Copy link
Copy Markdown
Contributor

Thanks!

@wilsonge wilsonge added this to the Joomla 4.0 milestone Mar 30, 2020
@Fedik Fedik deleted the error-handler2 branch March 30, 2020 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants