mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +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
@@ -1,7 +1,6 @@
|
||||
import { normalizeDesignSystemContext } from "../../designSystem.js";
|
||||
import { updateVideoCardSourceVisibility } from "../../utils/cardSourceVisibility.js";
|
||||
import positionFloatingPanel from "../utils/positionFloatingPanel.js";
|
||||
import { userLogger } from "../../utils/logger.js";
|
||||
import { createFloatingPanelStyles } from "../utils/floatingPanelStyles.js";
|
||||
import {
|
||||
getPopupOffsetPx,
|
||||
@@ -1568,7 +1567,7 @@ export class VideoCard {
|
||||
return typeof formatted === "string" ? formatted : "";
|
||||
} catch (error) {
|
||||
if (this.window?.console?.warn) {
|
||||
this.window.userLogger.warn(
|
||||
this.window.console.warn(
|
||||
"[VideoCard] formatTimeAgo formatter threw",
|
||||
error
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user