Skip to content

Conversation

fuweid
Copy link
Collaborator

@fuweid fuweid commented Dec 18, 2024

  • Show Code/Message so that it's easy to generate database schema
  • Add URL in error

* Show Code/Message so that it's easy to generate database schema
* Add URL in error

Signed-off-by: Wei Fu <weifu@microsoft.com>
@fuweid fuweid requested a review from Copilot December 18, 2024 03:00
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

api/types/metric.go:34

  • Changing the Code field from optional (omitempty) to mandatory could lead to issues if there are scenarios where this field is not always populated. Consider keeping it optional.
Code int `json:"code"`

api/types/metric.go:38

  • Changing the Message field from optional (omitempty) to mandatory could lead to issues if there are scenarios where this field is not always populated. Consider keeping it optional.
Message string `json:"message"`

@fuweid fuweid merged commit 66af6c9 into Azure:main Dec 18, 2024
4 checks passed
@fuweid fuweid deleted the weifu/update-errors branch December 18, 2024 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant