Skip to content

Commit

Permalink
Remove redundant sandboxed extension block error handling
Browse files Browse the repository at this point in the history
Interpreter/compiler do this by default since
0593628
  • Loading branch information
GarboMuffin committed May 9, 2024
1 parent 0593628 commit 5d30745
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/extension-support/extension-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,15 +559,6 @@ class ExtensionManager {
return result;
}
return `${result}`;
})
// When an error happens, instead of returning undefined, we'll return a stringified
// version of the error so that it can be debugged.
.catch(err => {
// We want the full error including stack to be printed but the log helper
// messes with that.
// eslint-disable-next-line no-console
console.error('Custom extension block error', err);
return `${err}`;
});
}

Expand Down

0 comments on commit 5d30745

Please sign in to comment.