From ca3d5f73c9e9bac56aad0ea351bc0652e8bc2d66 Mon Sep 17 00:00:00 2001 From: Darin Swanson Date: Mon, 14 Mar 2016 14:32:11 -0700 Subject: [PATCH] Propagate the error out when loading DB fails #350 --- app/services/database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); },