Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/bitdrift_public/protobuf/client/v1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -879,8 +879,12 @@ message DeviceCommandUpdate {

// Reports that command execution could not be completed.
message Failed {
// Optional structured context supplied with the failed command result.
// Optional application context supplied with the failed command result. Older SDKs put
// the failure message in the `error` field when `failure_message` is absent.
DeviceCommandResultContext context = 1;

// The human-readable failure message, separate from application context.
optional string failure_message = 2;
}

// The command ID from the corresponding DeviceCommandRequest.
Expand Down
Loading