Skip to content

Commit

Permalink
Fixing for error case.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeal committed Feb 22, 2010
1 parent 5677dad commit 4dd8eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync.js
Expand Up @@ -104,7 +104,7 @@ var sync = function () {
}
db.saveDoc(ddoc, function (error, info) {
if (error) {
sys.puts("Failed to save "+JSON.stringify(info))
sys.puts("Failed to save "+JSON.stringify(error))
} else {
sys.puts("Saved "+JSON.stringify(info))
}
Expand Down

0 comments on commit 4dd8eb6

Please sign in to comment.