Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: Remove scape characteres from error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulogr authored and daviddias committed Feb 15, 2018
1 parent d3a0ae1 commit 68e7b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/api/resources/swarm.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ exports = module.exports
// common pre request handler that parses the args and returns `addr` which is assigned to `request.pre.args`
exports.parseAddrs = (request, reply) => {
if (!request.query.arg) {
const err = 'Argument \'addr\' is required'
const err = 'Argument `addr` is required'
log.error(err)
return reply({
Code: 0,
Expand Down

0 comments on commit 68e7b5a

Please sign in to comment.