Skip to content

Commit

Permalink
[fix] do not fail on error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
asciimoo committed Nov 20, 2024
1 parent 890cfdb commit dbf40c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ext/src/js/modules/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,7 @@ async function saveBookmark() {
renderSuccess('Snapshot successfully saved!', msg);
}, async function(err) {
destroyProgressBar();
const msg = await err.json();
renderError(`Failed to save bookmark! Error: ${err.statusText}: ${msg.error}`);
renderError(`Failed to save bookmark! ${err}`);
});
}

Expand Down
2 changes: 1 addition & 1 deletion ext/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ module.exports = {
version: process.env.npm_package_version,
...JSON.parse(content.toString())
};
content['background']['scripts'] = 'background.js';
content['background']['scripts'] = ['background.js'];
content['browser_specific_settings'] = {
"gecko": {
"id": "{f0bca7ce-0cda-41dc-9ea8-126a50fed280}",
Expand Down

0 comments on commit dbf40c9

Please sign in to comment.