sipcapture / paStash

pastaʃ'ʃ = Spaghetti I/O Event Data Processing, Interpolation, Correlation and beyond :spaghetti:
http://sipcapture.io
Apache License 2.0
102 stars 28 forks source link

Update output_hep.js #103

Closed ivlovric closed 2 years ago

ivlovric commented 2 years ago

fix instance of Object passing to function instead of string or an instance of Buffer, ArrayBuffer, or Array. String chosen.

Was getting error when sending prepacked json encapsulated "rcinfo" and "payload" HEP. _"ERROR PREHEP ERROR: TypeError [ERR_INVALID_ARGTYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of Object".

this fixed an error and was able to successfully send JSON HEP over network

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

lmangani commented 2 years ago

Thanks @ivlovric could you sign the CLA so we can merge this safety check in?