fix for #761
This commit is contained in:
2
dist/lib/swagger.js
vendored
2
dist/lib/swagger.js
vendored
@@ -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");
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user