Skip to content

Commit

Permalink
feat: return error
Browse files Browse the repository at this point in the history
  • Loading branch information
harisato committed Oct 18, 2024
1 parent 2a94162 commit 8b42680
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/chapter/chapter.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ export class ChapterService {
return result.data;
} catch (errors) {
return {
errors,
error: {
message: errors.message,
},
};
}
}
Expand Down

0 comments on commit 8b42680

Please sign in to comment.