Check-in [4c144972c0]
Logged in as anonymous
Overview
Comment:fix error a little
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4c144972c090a29baaa9d56fa4c9942bf40a7a2a50c85902806809184820ff2b
User & Date: arcade on 2026-01-02 07:47:54.418
Other Links: manifest | tags
Context
2026-01-02
12:10
add github workflows check-in: a39355c1fc user: arcade tags: trunk
07:47
fix error a little check-in: 4c144972c0 user: arcade tags: trunk
2026-01-01
13:18
add api_gateway, switch to smol check-in: dc7c43b010 user: arcade tags: trunk, v0.5.2
Changes
3744
3745
3746
3747
3748
3749
3750
3751

3752
3753

3744
3745
3746
3747
3748
3749
3750

3751
3752

3753







-
+

-
+
 "proc-macro2",
 "quote",
 "syn",
]

[[package]]
name = "zmij"
version = "1.0.6"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aac060176f7020d62c3bcc1cdbcec619d54f48b07ad1963a3f80ce7a0c17755f"
checksum = "de9211a9f64b825911bdf0240f58b7a8dac217fe260fc61f080a07f61372fbd5"
259
260
261
262
263
264
265
266

267
268
269
270
271
272

273
274
275
276
277
278
279
259
260
261
262
263
264
265

266
267
268
269
270
271

272
273
274
275
276
277
278
279







-
+





-
+







							owner_chat: ChatPeerId::from(owner),
							..self.clone()
						};
						let source = {
							let mut conn = self.db.begin().await.stack()?;
							match conn.get_one(owner, source_id).await {
								Ok(Some(source)) => source.to_string(),
								Ok(None) => "Source not found in database.stack()?".to_string(),
								Ok(None) => "Source not found in database?".to_string(),
								Err(err) => format!("Failed to fetch source data:\n{err}"),
							}
						};
						smol::spawn(Compat::new(async move {
							if let Err(err) = clone.check(source_id, true, Some(last_scrape)).await {
								if let Err(err) = clone.send(&format!("{source}\n\nšŸ›‘ {}", encode(&err.to_string())), None, Some(ParseMode::MarkdownV2)).await {
								if let Err(err) = clone.send(&format!("šŸ›‘ {source}\n{}", encode(&err.to_string())), None, Some(ParseMode::MarkdownV2)).await {
									eprintln!("Check error: {err}");
									// clone.disable(&source_id, owner).await.unwrap();
								};
							};
						})).detach();
					}
				} else if next_fetch - now < delay {
11
12
13
14
15
16
17
18

19
20
21
22
23
24
25
11
12
13
14
15
16
17

18
19
20
21
22
23
24
25







-
+







use stacked_errors::{
	Result,
	StackableErr,
};
use tgbot::handler::LongPoll;

fn main () -> Result<()> {
	smol::future::block_on(Compat::new(async {
	smol::block_on(Compat::new(async {
		async_main().await.unwrap();
	}));

	Ok(())
}

async fn async_main () -> Result<()> {