[WIKI-704] fix: hocuspocus error handling (#7898)
This commit is contained in:
parent
794271ac17
commit
f6677f252f
3 changed files with 16 additions and 5 deletions
|
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue