mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-03 11:22:25 +00:00
Revert "Refactor logging to centralized logger"
This commit is contained in:
1 parent
2e7038e0e6
commit
d705cf176b
67 files changed
+798
-1130
No files matched your search
+2
-3
@@ -1,4 +1,3 @@
|
||||
import { userLogger } from "./utils/logger.js";
|
||||
// js/accessControl.js
|
||||
|
||||
import {
|
||||
@@ -127,7 +126,7 @@ class AccessControl {
|
||||
|
||||
const operation = this._performRefresh();
|
||||
const tracked = operation.catch((error) => {
|
||||
userLogger.error("Failed to refresh admin lists:", error);
|
||||
console.error("Failed to refresh admin lists:", error);
|
||||
throw error;
|
||||
});
|
||||
this._refreshPromise = tracked;
|
||||
@@ -411,4 +410,4 @@ export {
|
||||
ADMIN_WHITELIST_MODE_STORAGE_KEY,
|
||||
normalizeNpub,
|
||||
isValidNpub,
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user