diff --git a/lib/modules/database/Reference.js b/lib/modules/database/Reference.js index 9702da0e..67d2c9c5 100644 --- a/lib/modules/database/Reference.js +++ b/lib/modules/database/Reference.js @@ -289,7 +289,7 @@ export default class Reference extends ReferenceBase { }) .catch(error => { if (isFunction(cancelOrContext)) return cancelOrContext(error); - return error; + throw error; }); }