Silent crash of Node
I noticed a silent crash (Exception type seems to not be catched by the invoke try/catch in blpapi.js) Fix simply consists in changing the throw Exception to throw UnknownErrorException
We shouldn't be modifying the vendor dependencies. Instead, we should modify blpapijs.cpp to handle the thrown exception. Can you provide an example that reproduces the issue?
Hi Eric,
I noticed the problem with a request IRDCTK3 such as:
service: '//blp/irdctk3', type: 'GetCurveInterpValues', req: { spotCurve: { curveID: 'CCTK5538d36b1e680009' }, calcType: { calcWhat: 'DF.MID', calcSide: 'DISCOUNTCURVE' } , interpPoints: [ { dayCount: 'DEFAULT', frequency: 'DEFAULT', term: { Length: 0, Type: 'MONTHS' } } ] }
CalcType should be an array but I gave an object and I had this "silent" crash. I will try to see how to modify blpapijs.cpp instead of the .h