Skip to content

Traces: function error message not shown #7985

@shykes

Description

@shykes

Context

In Traces, function calls are shown with information about their status:

  • If the function returned an error, it's shown in red
  • The error message is displayed in a special box - at least in theory

Problem

The error message shown in the box is not the one actually returned by the function. Instead, it's always the same generic, and useless, message:

call function "Foo": process "/runtime" did not complete successfully: exit code: 2

Screenshot 2024-07-19 at 2 18 47 AM

Solution

Use the existing "error box" to show the actual error returned by the function, instead of the generic "exit code: 2" error.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions