Accept any json value in result and error (#14954)
Some users might throw JS values that aren't strings. <img width="3456" height="2160" alt="CleanShot 2025-10-07 at 17 48 36@2x" src="https://github.com/user-attachments/assets/b02f886c-1c8e-4186-954b-6d0e025a6fcf" /> Errors seen previously: <img width="1308" height="840" alt="image" src="https://github.com/user-attachments/assets/1d7e4947-8f6f-44fb-aefb-c7d105712204" />
This commit is contained in:
committed by
GitHub
parent
f037e92dfa
commit
e382730a39
+1
-1
@@ -74,7 +74,7 @@ export const WorkflowRunStepOutputDetail = ({ stepId }: { stepId: string }) => {
|
||||
: i18n._(getActionHeaderTypeOrThrow(stepDefinition.definition.type));
|
||||
|
||||
const setRedHighlightingForEveryNode: GetJsonNodeHighlighting = (keyPath) => {
|
||||
if (keyPath === 'error') {
|
||||
if (keyPath.startsWith('error')) {
|
||||
return 'red';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user