Skip to content

[BUG]: Carbide REST is failing to unwrap Temporal errors from messages returned to the user #212

@thossain-nv

Description

@thossain-nv

Version

1.0.5

Which installation method(s) does this occur on?

Source

Describe the bug.

The API is still returning errors to users containing Temporal context.

All user facing errors must be checked if they are Temporal application error and unwrapped before returning.

Minimum reproducible example

Relevant log output

Failed to execute sync workflow to create Instance on Site: workflow execution error (type: CreateInstanceV2, workflowID: instance-create-99328833-74c9-41cd-bcf7-745a387f4133, runID: a66ba286-8478-49b9-8f94-d1bceefbc278): activity error (type: CreateInstanceOnSite, scheduledEventID: 5, startedEventID: 6, identity: 1@elektra-site-agent-2@): interface conversion: interface {} is nil, not *client.CarbideClient

Other/Misc.

No response

Code of Conduct

  • I agree to follow Carbide's Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report

Metadata

Metadata

Assignees

Labels

bugA defect in existing software (deprecated - use issue type, but it's needed for reporting now)

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions