uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
MIT License
8.74k stars 463 forks source link

Use getThrowable() instead of deprecated getException() function in ExceptionSubscriber.php #546

Closed vipin-shrivastava closed 2 years ago

vipin-shrivastava commented 2 years ago

1. Why is this change necessary?

As getException' function depreciated in Symfony 5. It is not allowing to getCode() function so that the default 500 error page comes up.

2. What does this change do, exactly?

Have added 'getThrowable' function. Now, it will prove the exception code & all the error pages are working fine.

3. Please link to the relevant issues (if any).

https://github.com/uvdesk/core-framework/issues/556