Skip to content

Commit a221c9e

Browse files
feat: Add optimized error message to the recipe event (#1256)
1 parent d05dd03 commit a221c9e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

pkg/installevents/installevents_api.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/installevents/types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ type InstallationStatusError struct {
252252
Details string `json:"details,omitempty"`
253253
// The actual error message.
254254
Message string `json:"message,omitempty"`
255+
// An optimised message for the error.
256+
OptimizedMessage string `json:"optimizedMessage,omitempty"`
255257
}
256258

257259
// InstallationStatusErrorInput - An object that represents a status error whenever an recipe has failed to install.
@@ -260,4 +262,6 @@ type InstallationStatusErrorInput struct {
260262
Details string `json:"details,omitempty"`
261263
// The actual error message.
262264
Message string `json:"message,omitempty"`
265+
// An optimised message for the error.
266+
OptimizedMessage string `json:"optimizedMessage,omitempty"`
263267
}

0 commit comments

Comments
 (0)