A decentralized music tracking and discovery platform built on AT Protocol 🎵 rocksky.app
spotify atproto lastfm musicbrainz scrobbling listenbrainz

[api] log errors

+4 -1
+4 -1
apps/api/src/xrpc/app/rocksky/album/getAlbum.ts
··· 90 90 .then((rows) => rows[0]?.count || 0), 91 91 ]); 92 92 }, 93 - catch: (error) => new Error(`Failed to retrieve album: ${error}`), 93 + catch: (error) => { 94 + console.log("Error retrieving album:", error); 95 + return new Error(`Failed to retrieve album: ${error}`); 96 + }, 94 97 }); 95 98 }; 96 99