Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Dec 11, 2023
1 parent 1964027 commit 5f8ae6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes/api/torrents.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ describe('POST /api/torrents/add-files', () => {
.expect('Content-Type', /json/)
.expect((res) => {
if (res.status !== 200 && res.status !== 202) {
throw new Error(`Failed to add torrents ${res.body}`);
throw new Error(`Failed to add torrents ${JSON.stringify(res.body)}`);
}
})
.end((err, _res) => {
Expand Down

0 comments on commit 5f8ae6f

Please sign in to comment.