diff --git a/app/services/database.js b/app/services/database.js index 909273b30f..bd03a250e5 100644 --- a/app/services/database.js +++ b/app/services/database.js @@ -128,7 +128,7 @@ export default Ember.Service.extend(PouchAdapterUtils, { }).on('error', (err) => { reject(err); }); - }); + }, reject); }); },