Skip to content

Commit

Permalink
Make error thrown when parsing the alias more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Dec 20, 2018
1 parent d655fa1 commit 75b799d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/matrix/matrix.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ module.exports = class Matrix extends BaseJsonService {
host = splitAlias[2] + splitAlias[3]
break
default:
throw new errors.InvalidParameter()
throw new errors.InvalidParameter({ prettyMessage: 'invalid alias' })
}
} else {
host = serverFQDN
Expand Down

0 comments on commit 75b799d

Please sign in to comment.