Skip to content

Commit

Permalink
Set logWarn instead of logError message in background.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniloNovakovic committed Aug 29, 2019
1 parent 08c2a64 commit 811de90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/background.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as dbm from "./lib/dynBookmarks";
import { migrateStorage } from "./lib/storage/migrations";
import { logError } from "./utils/log";
import { logWarn } from "./utils/log";

migrateStorage();

Expand Down Expand Up @@ -57,7 +57,7 @@ chrome.bookmarks.onChanged.addListener((id, changeInfo) => {
item.history.pop();
}
item.history.unshift(changeInfo.url);
dbm.findByIdAndUpdate(id, item, logError);
dbm.findByIdAndUpdate(id, item, logWarn);
});
}
});

0 comments on commit 811de90

Please sign in to comment.