log-panics & single thread download (twitch_data)

This commit is contained in:
OMGeeky
2023-04-04 22:31:14 +02:00
parent 1c1c95334d
commit 0132bd636d
2 changed files with 5 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ edition = "2021"
[dependencies]
google_bigquery = { git = "https://github.com/OMGeeky/google_bigquery" }
google_youtube = { git = "https://github.com/OMGeeky/google_youtube" }
twitch_data = { version="0.1.2", git = "https://github.com/OMGeeky/twitch_data" }
twitch_data = { version="0.1.3", git = "https://github.com/OMGeeky/twitch_data" }
downloader_config = { version="0.2.0", git = "https://github.com/OMGeeky/downloader_config" }
tokio = "1.23"
google-bigquery2 = "4.0.1"
@@ -16,4 +16,6 @@ chrono = "0.4.23"
nameof = "1.2.2"
log = "0.4.17"
simplelog = "0.12.1"
path-clean = "1.0.1"
path-clean = "1.0.1"
log-panics = { version = "2", features = ["with-backtrace"]}

View File

@@ -58,6 +58,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
),
])
.unwrap();
log_panics::init();
println!("Hello, world!");
start_backup().await?;
// sample().await?;