diff --git a/dist/lib/swagger.js b/dist/lib/swagger.js index b0df735d..37854cda 100644 --- a/dist/lib/swagger.js +++ b/dist/lib/swagger.js @@ -1506,7 +1506,7 @@ try { out.obj = JSON.parse(response.content.data); } - catch () { + catch (ex) { // do not set out.obj log ("unable to parse JSON content"); } diff --git a/lib/swagger.js b/lib/swagger.js index b0df735d..37854cda 100644 --- a/lib/swagger.js +++ b/lib/swagger.js @@ -1506,7 +1506,7 @@ try { out.obj = JSON.parse(response.content.data); } - catch () { + catch (ex) { // do not set out.obj log ("unable to parse JSON content"); }