Skip to content

Commit 50a8783

Browse files
author
Antoine Pous
committed
Small fix when error is throwed
1 parent 610825c commit 50a8783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

teamspeak3-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ let TeamSpeak3Client = function(host, port) {
200200
TeamSpeak3Client.prototype.execute = function(name, params, cb) {
201201

202202
if(typeof prepared[name] === 'undefined') {
203-
throw new Error('Cannot execute `%s`, statement not found!', name)
203+
throw new Error('Cannot execute `' + name + '`, statement not found!')
204204
}
205205

206206
// Escape all the values

0 commit comments

Comments
 (0)