var Herakles = require('../lib');

var herakles = new Herakles('./');

herakles.addRepository('tmp', 'test', 'github:nodegit/test');

herakles.find('tmp/test').sync().then(function then() {
  console.log('Everything synced up.');
}).catch(function error() {
  console.log('Error while syncing.');
});

@@ -247,16 +247,19 @@
 n error(
+err
 ) %7B%0A  co
@@ -293,12 +293,58 @@
 ing.');%0A
+  console.log(err);%0A  console.log(err.stack);%0A
 %7D);%0A

Update example