drachtio-srf 4.5.16 → 4.5.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/drachtio-agent.js +2 -3
- package/package.json +1 -1
package/lib/drachtio-agent.js
CHANGED
|
@@ -751,9 +751,8 @@ class DrachtioAgent extends Emitter {
|
|
|
751
751
|
break ;
|
|
752
752
|
|
|
753
753
|
default:
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
throw new Error('unexpected message with type: ' + token[1]) ;
|
|
754
|
+
throw new Error(
|
|
755
|
+
`invalid msg type: '${token[1]}', msg: '${msg}', fullMsg: '${fullMsg}' start ${start}, length ${length}`) ;
|
|
757
756
|
}
|
|
758
757
|
}
|
|
759
758
|
}
|