[WIKI-704] fix: hocuspocus error handling (#7898)

This commit is contained in:
M. Palanikannan 2025-10-03 14:01:38 +05:30 committed by GitHub
parent 794271ac17
commit f6677f252f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 5 deletions

View file

@ -21,7 +21,7 @@ export abstract class PageCoreService extends APIService {
})
.then((response) => response?.data)
.catch((error) => {
throw error?.response?.data;
throw error;
});
}
@ -35,7 +35,7 @@ export abstract class PageCoreService extends APIService {
})
.then((response) => response?.data)
.catch((error) => {
throw error?.response?.data;
throw error;
});
}