Revert "Refactor logging to centralized logger"

This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-10-15 11:14:10 -04:00
1 parent 2e7038e0e6
commit d705cf176b
67 files changed
+798 -1130

No files matched your search

+2 -3
View File
@@ -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,
};
};