mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-30 22:22:02 +02:00
Dev app icon
This commit is contained in:
@@ -74,14 +74,14 @@ pub fn track_event(
|
||||
.query(¶ms);
|
||||
|
||||
if is_dev() {
|
||||
debug!("Ignore dev analytics event: {} {:?}", event, params);
|
||||
debug!("Send event (dev): {}", event);
|
||||
} else if let Err(e) = req.send().await {
|
||||
warn!(
|
||||
"Error sending analytics event: {} {} {:?}",
|
||||
e, event, params
|
||||
);
|
||||
} else {
|
||||
debug!("Sent analytics event: {}: {:?}", event, params);
|
||||
debug!("Send event: {}: {:?}", event, params);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user