From 9c7f6a40c27f93e379736645f8e394e5be288a5a Mon Sep 17 00:00:00 2001 From: matthieu-vincke Date: Thu, 23 Apr 2015 11:47:51 +0100 Subject: [PATCH 1/2] Silent crash of Node Exception type seems to not be catched by the try/catch in blpapi.js --- deps/blpapi/include-3.7.9.1/blpapi_exception.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/blpapi/include-3.7.9.1/blpapi_exception.h b/deps/blpapi/include-3.7.9.1/blpapi_exception.h index 05704fb..c9db25e 100644 --- a/deps/blpapi/include-3.7.9.1/blpapi_exception.h +++ b/deps/blpapi/include-3.7.9.1/blpapi_exception.h @@ -406,7 +406,7 @@ void ExceptionUtil::throwException(int errorCode) case BLPAPI_NOTFOUND_CLASS: throw NotFoundException(description); default: - throw Exception(description); + throw UnknownErrorException(description); } } From d8b9570623a20daa422945ea5d20700395ca56e8 Mon Sep 17 00:00:00 2001 From: matthieu-vincke Date: Thu, 23 Apr 2015 11:49:29 +0100 Subject: [PATCH 2/2] Silent crash of Node Exception type seems to not be catched by the try/catch in blpapi.js --- deps/blpapi/include-3.8.1.1/blpapi_exception.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/blpapi/include-3.8.1.1/blpapi_exception.h b/deps/blpapi/include-3.8.1.1/blpapi_exception.h index 05704fb..c9db25e 100644 --- a/deps/blpapi/include-3.8.1.1/blpapi_exception.h +++ b/deps/blpapi/include-3.8.1.1/blpapi_exception.h @@ -406,7 +406,7 @@ void ExceptionUtil::throwException(int errorCode) case BLPAPI_NOTFOUND_CLASS: throw NotFoundException(description); default: - throw Exception(description); + throw UnknownErrorException(description); } }