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

Commit 9204f59

Browse files
paulogrJonKrone
authored andcommitted
fix: Remove scape characteres from error message.
1 parent 37b215c commit 9204f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/api/resources/swarm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exports = module.exports
1010
// common pre request handler that parses the args and returns `addr` which is assigned to `request.pre.args`
1111
exports.parseAddrs = (request, reply) => {
1212
if (!request.query.arg) {
13-
const err = 'Argument \'addr\' is required'
13+
const err = 'Argument `addr` is required'
1414
log.error(err)
1515
return reply({
1616
Code: 0,

0 commit comments

Comments
 (0)