Browse Source

Merge e75c38574b into 54f6164f58

pull/84/merge
cbeanLeadr 3 years ago
committed by GitHub
parent
commit
bca017cbdc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/client.js

+ 1
- 1
lib/client.js View File

@ -98,7 +98,7 @@ client.prototype.request = function(method, path, params, callback){
});
res.on("end", function(){
var error = null;
var error = new Error("An unknown error occurred");
try{ data = json.parse(data); }catch(e){}
if(data["errors"]){
error = data["errors"];


Loading…
Cancel
Save