Skip to content

Add capability to support error codes on Duo Chat backend

What does this MR do and why?

This MR adds the capability to add error codes to the backend to aid in debugging.

These error codes come from here.

I have added the first error code as an example.

These will just be logged for now, but in the future, will show in the UI.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

image

How to set up and validate locally

It would be difficult to validate this locally because it is hard to force the error to happen to see the error code in the logs.

However, I manipulated the situation to cause it to happen locally in the screenshot above.

Related to #426545 (closed)

Edited by Lesley Razzaghian

Merge request reports