Skip to content

Commit

Permalink
fix(firebase): properly pass error when task fails
Browse files Browse the repository at this point in the history
  • Loading branch information
christianalfoni committed Dec 13, 2016
1 parent ec8ba3a commit 209b090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cerebral-provider-firebase/src/createTask.js
Expand Up @@ -19,6 +19,6 @@ export default function createTask (options) {
reject(data.val()._error_details)
}
})
})
}).catch((error) => ({error: error.message}))
}
}

0 comments on commit 209b090

Please sign in to comment.