Various tweaks

This commit is contained in:
Gregory Schier committed 2024-07-22 17:55:28 -07:00
1 parent 47d4fffc20
commit 41dfa15feb
5 files changed
+26 -10

No files matched your search

+1 -1
View File
@@ -189,7 +189,7 @@ pub async fn track_event(
// Disable analytics actual sending in dev
if is_dev() {
debug!("track: {}", event);
debug!("track: {} {}", event, attributes_json);
return;
}
+4
View File
@@ -70,6 +70,10 @@ impl YaakNotifier {
("launches", num_launches.to_string()),
]);
let resp = req.send().await.map_err(|e| e.to_string())?;
if resp.status().to_string() != "200" {
return Ok(());
}
let notification = resp
.json::<YaakNotification>()
.await