Improve Error Handling in Middleware Storage Drivers
Improve Error Handling in Middleware Storage Drivers: a task in LegoFlow-SWE (Harbor dataset). Several middleware components (cache, CSRF, limiter, and others) silently swallow errors when interacting with storage drivers. When a storage Get or Set operation fails, the error is currently ignored…
The task
Several middleware components (cache, CSRF, limiter, and others) silently swallow errors when interacting with storage drivers. When a storage `Get` or `Set` operation fails, the error is currently ignored, causing the middleware to behave as if no error occurred. This makes debugging difficult and prevents callers…
Part of Lego-X/LegoFlow-SWE.