Skip to content

Commit

Permalink
fixed error handling routine
Browse files Browse the repository at this point in the history
  • Loading branch information
octoocto1 committed May 19, 2016
1 parent 7b9e13e commit 93b3cdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agent/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ exports.deleteDir = function(dir,callback){
fs.rmdirSync(dir);
}
catch(err){
errors += "dir "+ dirCount +" is not empty";
errors += "dir "+ dir +" is not empty";
console.log("dir "+ dir +" is not empty")
}
}
Expand Down
2 changes: 1 addition & 1 deletion common.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ exports.deleteDir = function(dir,callback){
fs.rmdirSync(dir);
}
catch(err){
errors += "dir "+ dirCount +" is not empty";
errors += "dir "+ dir +" is not empty";
console.log("dir "+ dir +" is not empty")
}
}
Expand Down

0 comments on commit 93b3cdd

Please sign in to comment.