Commit a1d9ff3
committed
refactor(data): enhance logging and error handling in CRUD operations
- Add comprehensive logging at various stages of GET, PUT, and DELETE requests
- Implement null check for fetched item to prevent NoSuchMethodError
- Wrap CRUD operations in try-catch blocks to handle unhandled exceptions
- Log unsupported model types as warnings instead of throwing errors
- Improve error messages by including specific model names and IDs1 parent 3247e93 commit a1d9ff3
1 file changed
+235
-160
lines changed
0 commit comments