Fix wrong status code in Tracing requests when calling external dependencies
As it's done in "app/middleware/traces_middleware.py" surround call to ensure 500 error code is set in case of raised Exceptions.
On Sunday, May 30th, we will be performing critical infrastructure maintenance on our Disaster Recovery processes between 20:30 and 00:30 EDT (00:30 and 2:30 UTC). This will necessitate brief outages for Community GitLab during that time. If you are not able to access one of our services or websites, please wait a few minutes and try again. Additional status updates will be available on our status page at https://status.opengroup.org/.
As it's done in "app/middleware/traces_middleware.py" surround call to ensure 500 error code is set in case of raised Exceptions.