aboutsummaryrefslogtreecommitdiff
path: root/ext/js/core/extension-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/core/extension-error.js')
-rw-r--r--ext/js/core/extension-error.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/core/extension-error.js b/ext/js/core/extension-error.js
index 6458f477..56f0a0d9 100644
--- a/ext/js/core/extension-error.js
+++ b/ext/js/core/extension-error.js
@@ -49,7 +49,7 @@ export class ExtensionError extends Error {
const result = {
name: typeof name === 'string' ? name : '',
message: typeof message === 'string' ? message : '',
- stack: typeof stack === 'string' ? stack : ''
+ stack: typeof stack === 'string' ? stack : '',
};
if (error instanceof ExtensionError) {
result.data = error.data;
@@ -61,7 +61,7 @@ export class ExtensionError extends Error {
}
return /** @type {import('core').SerializedError2} */ ({
value: error,
- hasValue: true
+ hasValue: true,
});
}