yasithdev opened a new pull request, #223: URL: https://github.com/apache/airavata-portals/pull/223
`download_settings_local` raised a bare `Exception` when the portal runs in `DEBUG` mode, which Django renders as an unhandled 500 with a full stack trace. The restriction is intentional (the local-dev settings download is a production-portal helper), but it should degrade gracefully — this returns `HttpResponseBadRequest` with the same message instead. Test plan: `GET /auth/settings-local/` as a gateway admin in DEBUG now returns HTTP 400 with the message (previously a 500 stack trace). Verified live. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
