mirror of
https://github.com/documenso/documenso.git
synced 2026-07-25 17:35:05 +10:00
fix: error message (update title) (#2691)
This commit is contained in:
@@ -602,6 +602,10 @@ export const templateRouter = router({
|
||||
}).catch((err) => {
|
||||
console.error(err);
|
||||
|
||||
if (err instanceof AppError) {
|
||||
throw err;
|
||||
}
|
||||
|
||||
throw new AppError('DOCUMENT_SEND_FAILED');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user