### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Electron Version

12.0.1

### What operating system are you using?

macOS

### Operating System Version

11.2

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

`error.message` shouldn't be prefixed with "Uncaught Error:"

### Actual Behavior

`error.message` is prefixed with "Uncaught Error:" when an error is thrown in a function defined in the preload script and caught in the renderer process. This only happens when `contextIsolation` is enabled.

### Testcase Gist URL

https://gist.github.com/f11c77f9bc2cbf98d42a9fcaf477c80a


shell/renderer/api/electron_api_context_bridge.cc
#include "content/public/renderer/render_frame.h"
#include "content/public/renderer/render_frame_observer.h"
#include "shell/common/api/object_life_monitor.h"
#include "shell/common/gin_converters/blink_converter.h"
#include "shell/common/gin_converters/callback_converter.h"
#include "shell/common/gin_helper/dictionary.h"
#include "shell/common/gin_helper/promise.h"
#include "shell/common/node_includes.h"
#include "shell/common/world_ids.h"
#include "third_party/blink/public/web/web_element.h"
#include "third_party/blink/public/web/web_local_frame.h"
namespace features {
const base::Feature kContextBridgeMutability{"ContextBridgeMutability",
                                             base::FEATURE_DISABLED_BY_DEFAULT};
}
namespace electron {
namespace api {
namespace context_bridge {
const char* const kProxyFunctionPrivateKey = "electron_contextBridge_proxy_fn";
const char* const kSupportsDynamicPropertiesPrivateKey =
    "electron_contextBridge_supportsDynamicProperties";
const char* const kOriginalFunctionPrivateKey =
    "electron_contextBridge_original_fn";
}  
namespace {
static int kMaxRecursion = 1000;
inline bool IsTrue(v8::Maybe<bool> maybe) {
  return maybe.IsJust() && maybe.FromJust();
}
content::RenderFrame* GetRenderFrame(const v8::Local<v8::Object>& value) {