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

Configure Feed

Select the types of activity you want to include in your feed.

[scrobbler] log errors

+5
+5
crates/scrobbler/src/handlers/mod.rs
··· 116 116 let payload = read_payload!(payload); 117 117 let body = String::from_utf8_lossy(&payload); 118 118 let req = serde_json::from_str::<SubmitListensRequest>(&body) 119 + .map_err(|e| { 120 + println!("{}", payload); 121 + println!("Error parsing request body: {}", e); 122 + e 123 + }) 119 124 .map_err(actix_web::error::ErrorBadRequest)?; 120 125 121 126 submit_listens(req, cache.get_ref(), data.get_ref(), token)