fix(core): Move error obfuscation to FE (no-changelog) (#10237)
This commit is contained in:
@@ -179,6 +179,10 @@ function addItemIndexSuffix(message: string): string {
|
||||
}
|
||||
|
||||
function getErrorMessage(): string {
|
||||
if ('obfuscate' in props.error && props.error.obfuscate === true) {
|
||||
return i18n.baseText('nodeErrorView.showMessage.obfuscate');
|
||||
}
|
||||
|
||||
let message = '';
|
||||
|
||||
const isSubNodeError =
|
||||
|
||||
@@ -1125,6 +1125,7 @@
|
||||
"nodeErrorView.itemIndex": "Item Index",
|
||||
"nodeErrorView.runIndex": "Run Index",
|
||||
"nodeErrorView.showMessage.title": "Copied to clipboard",
|
||||
"nodeErrorView.showMessage.obfuscate": "Internal error",
|
||||
"nodeErrorView.stack": "Stack",
|
||||
"nodeErrorView.theErrorCauseIsTooLargeToBeDisplayed": "The error cause is too large to be displayed",
|
||||
"nodeErrorView.time": "Time",
|
||||
|
||||
Reference in New Issue
Block a user