Enhance error handling during document deletion by ensuring that failures in restoring document ownership do not obscure the original error. Log degraded events when ownership restoration fails after a deletion error, providing additional context for debugging and monitoring. This change improves reliability and traceability of document deletion operations. |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| contexts | ||
| db | ||
| hooks | ||
| lib | ||
| types | ||
| middleware.ts | ||