- Commit
- 4566081d7722b7a2f27900309cbd9293f7cc2678
- Parent
- e337b41d0953917be8f2cc925032ab7b06c434b9
- Author
- Pablo <pablo-escobar@riseup.net>
- Date
Added TODO items
Custum build of stapix for tikz.pablopie.xyz
Added TODO items
1 file changed, 4 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/main.rs | 4 | 4 | 0 |
diff --git a/src/main.rs b/src/main.rs @@ -47,6 +47,8 @@ const WEBP_IMAGE_QUALITY: f32 = 90.0; /// Target height of the thumbnails const THUMB_HEIGHT: u32 = 500; +// TODO: Make it so that all of the logging macros work asyncronously on +// different threads macro_rules! log { ($fmt:literal) => { print!(concat!("{info_header_msg} ", $fmt), @@ -538,6 +540,8 @@ fn render_thumbnail(pic: GalleryEntry) -> bool { let mut thumb_abs_path = match env::current_dir() { Ok(path) => path, Err(err) => { + // TODO: Check if the error was "File exists" (os error 17) + // In that case I suppose we should skip the rendering? errorln!( "Failed to create symlink for {thumb:?}: Could not get current working directory: {err}", thumb = thumb_path,