Skip to content

Commit

Permalink
Merge pull request #1498 from Agenta-AI/fix/error-message-expand-issu…
Browse files Browse the repository at this point in the history
…e-in-eval-scenarios-view

Fix: Allow expanding rows to display full error messages
  • Loading branch information
mmabrouk authored Apr 10, 2024
2 parents 2c3ab89 + 1b45975 commit dcafca3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ const EvaluationScenarios: React.FC<Props> = () => {
cellRenderer: (params: any) => {
const result = params.data?.outputs[index].result
if (result && result.type == "error") {
return `${result?.error?.message}\n${result?.error?.stacktrace}`
return LongTextCellRenderer(
params,
`${result?.error?.message}\n${result?.error?.stacktrace}`,
)
}
return showDiff === "show"
? LongTextCellRenderer(
Expand Down

0 comments on commit dcafca3

Please sign in to comment.