Closed KCMertens closed 7 months ago
BLS will only return stackTrace
when the client performing the request is in the configured list of debug IPs. So I don't think extra steps are needed/desired, you can just show it if it's returned by BlackLab.
Re: https://github.com/INL/corpus-frontend-config/issues/116#issuecomment-1757404044
BlackLab can add a special
stackTrace
key to the error response for specific IP addresses. Maybe only show this when the frontend is indebug
mode though? (which can be enabled at any time by enteringdebug.enable()
in the browser console).