This commit is contained in:
Tony Tam
2014-12-04 07:27:57 -08:00
parent 2c4f4a6331
commit 886145be28
2 changed files with 2 additions and 2 deletions

2
dist/lib/swagger.js vendored
View File

@@ -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");
}

View File

@@ -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");
}