Merge pull request #37 from SpoticordMusic/dev

Quick update to add additional logging
main
Daniel 2024-09-02 19:57:52 +02:00 committed by GitHub
commit 8ee2579aec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 15 additions and 11 deletions

View File

@ -1,5 +1,9 @@
# Changelog
## 2.2.2 | September 2nd 2024
- Added backtrace logging to player creation to figure out some mystery crashes
## 2.2.1 | August 22nd 2024
- Added new option: `/playing` can now receive an updating behavior parameter

10
Cargo.lock generated
View File

@ -3738,7 +3738,7 @@ dependencies = [
[[package]]
name = "spoticord"
version = "2.2.1"
version = "2.2.2"
dependencies = [
"anyhow",
"dotenvy",
@ -3758,7 +3758,7 @@ dependencies = [
[[package]]
name = "spoticord_audio"
version = "2.2.1"
version = "2.2.2"
dependencies = [
"librespot",
"songbird",
@ -3805,7 +3805,7 @@ dependencies = [
[[package]]
name = "spoticord_session"
version = "2.2.0"
version = "2.2.2"
dependencies = [
"anyhow",
"base64 0.22.1",
@ -3823,14 +3823,14 @@ dependencies = [
[[package]]
name = "spoticord_stats"
version = "2.2.0"
version = "2.2.2"
dependencies = [
"redis",
]
[[package]]
name = "spoticord_utils"
version = "2.2.0"
version = "2.2.2"
dependencies = [
"anyhow",
"base64 0.22.1",

View File

@ -1,6 +1,6 @@
[package]
name = "spoticord"
version = "2.2.1"
version = "2.2.2"
edition = "2021"
rust-version = "1.80.0"

View File

@ -1,6 +1,6 @@
[package]
name = "spoticord_audio"
version = "2.2.1"
version = "2.2.2"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,6 +1,6 @@
[package]
name = "spoticord_session"
version = "2.2.0"
version = "2.2.2"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -132,7 +132,7 @@ impl Session {
// Leave call on error, otherwise bot will be stuck in call forever until manually disconnected or taken over
_ = call.lock().await.leave().await;
error!("Failed to create player: {why}");
error!("Failed to create player: {why}\n{}", why.backtrace());
return Err(why);
}

View File

@ -1,6 +1,6 @@
[package]
name = "spoticord_stats"
version = "2.2.0"
version = "2.2.2"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,6 +1,6 @@
[package]
name = "spoticord_utils"
version = "2.2.0"
version = "2.2.2"
edition = "2021"
[dependencies]