cleanup: remove DEBUG-43 console logging
Remove all [DEBUG-43] console.warn/error entries added during blank album investigation. Keep essential error logging without the prefix.
This commit is contained in:
1 parent
12faa5837c
commit
29eb8b0d96
3 files changed
+4
-20
No files matched your search
@@ -247,15 +247,6 @@
|
||||
|
||||
// Check if album is in favorites on mount
|
||||
onMount(() => {
|
||||
console.warn('[DEBUG-43] AlbumDetailView mounted:', {
|
||||
albumId: album?.id, albumTitle: album?.title,
|
||||
tracksCount: album?.tracks?.length ?? 0,
|
||||
hasTracks: Array.isArray(album?.tracks) && album.tracks.length > 0
|
||||
});
|
||||
if (!album?.tracks || album.tracks.length === 0) {
|
||||
console.error('[DEBUG-43] AlbumDetailView mounted with no tracks');
|
||||
}
|
||||
|
||||
let unsubscribe: (() => void) | null = null;
|
||||
(async () => {
|
||||
try {
|
||||
|
||||
@@ -176,7 +176,7 @@ function validateAndCleanStoredGenreIds(): void {
|
||||
}
|
||||
|
||||
if (invalidIds.length > 0) {
|
||||
console.warn(`[DEBUG-43] Found ${invalidIds.length} stale genre ID(s) in ${context} context:`, invalidIds);
|
||||
console.debug(`Cleaned ${invalidIds.length} stale genre ID(s) in ${context} context`);
|
||||
for (const id of invalidIds) {
|
||||
ctxState.selectedGenreIds.delete(id);
|
||||
}
|
||||
@@ -186,7 +186,7 @@ function validateAndCleanStoredGenreIds(): void {
|
||||
}
|
||||
|
||||
if (cleaned) {
|
||||
console.warn('[DEBUG-43] Cleaned stale genre IDs from localStorage');
|
||||
console.debug('Cleaned stale genre IDs from localStorage');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user