mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-03-21 20:52:12 -03:00
Improve canvas save logic and add detailed debug logging
Enhanced the canvas save mechanism to ensure unique file names per node, prevent concurrent saves and executions, and handle missing files more robustly. Switched all logger levels to DEBUG for detailed tracing. Added fallback logic for file naming, improved error handling, and ensured that empty canvases are not saved. These changes improve reliability and traceability of canvas operations, especially in multi-node scenarios.
This commit is contained in:
@@ -9,7 +9,7 @@ const log = {
|
||||
};
|
||||
|
||||
// Konfiguracja loggera dla modułu ImageCache
|
||||
logger.setModuleLevel('ImageCache', LogLevel.INFO);
|
||||
logger.setModuleLevel('ImageCache', LogLevel.DEBUG);
|
||||
|
||||
export class ImageCache {
|
||||
constructor() {
|
||||
|
||||
Reference in New Issue
Block a user