[PR #562] [CLOSED] chore: add missing try catch and toasts #1046

Closed
opened 2026-02-26 19:31:36 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/562
Author: @Udit-takkar
Created: 10/14/2023
Status: Closed

Base: feat/refreshHead: chore/add-try-catch


📝 Commits (2)

  • 4da67ff chore: add missing try catch and toasts
  • e589a8f chore: add try catch

📊 Changes

3 files changed (+86 additions, -47 deletions)

View changed files

📝 apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx (+51 -32)
📝 apps/web/src/app/(dashboard)/documents/delete-draft-document-dialog.tsx (+9 -1)
📝 packages/ui/components/document/document-share-button.tsx (+26 -14)

📄 Description

  • Added missing try..catch blocks
  • toast on error

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/562 **Author:** [@Udit-takkar](https://github.com/Udit-takkar) **Created:** 10/14/2023 **Status:** ❌ Closed **Base:** `feat/refresh` ← **Head:** `chore/add-try-catch` --- ### 📝 Commits (2) - [`4da67ff`](https://github.com/documenso/documenso/commit/4da67ffd82baae98e2488f77e872b7ed68c0fd48) chore: add missing try catch and toasts - [`e589a8f`](https://github.com/documenso/documenso/commit/e589a8fcb2a8d0c135e54fb366d37e5401783763) chore: add try catch ### 📊 Changes **3 files changed** (+86 additions, -47 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx` (+51 -32) 📝 `apps/web/src/app/(dashboard)/documents/delete-draft-document-dialog.tsx` (+9 -1) 📝 `packages/ui/components/document/document-share-button.tsx` (+26 -14) </details> ### 📄 Description - Added missing try..catch blocks - toast on error --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:31:36 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1046
No description provided.