Skip to content

fix(fastapi): check for prometheus info.response

Kevin Morris requested to merge kevr/aurweb:fix-prometheus-nonsense into pu

When this is unchecked, exceptions cause the resulting stack trace to be oblivious to the original exception thrown.

This commit changes that behavior so that metrics are created only when info.response exists.

Signed-off-by: Kevin Morris kevr@0cost.org

Merge request reports

Loading