Skip to content

Commit

Permalink
fix: add a more descriptive error
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Feb 19, 2018
1 parent bb1db00 commit 1174cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ function syncXhr (filePath) {

return Buffer.from(res)
} else {
throw new Error('Could not get the Fixture')
throw new Error(`Could not get the Fixture: ${filePath}`)
}
}

0 comments on commit 1174cd8

Please sign in to comment.