From ead50944f5caba367d1eb12c9293e10cb32e8dad Mon Sep 17 00:00:00 2001 From: Nicolas Beck Date: Tue, 27 Jun 2017 20:41:42 +0200 Subject: [PATCH] added newline --- docs/modules/storage.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/modules/storage.md b/docs/modules/storage.md index c3d341e2..55a59597 100644 --- a/docs/modules/storage.md +++ b/docs/modules/storage.md @@ -44,6 +44,7 @@ const unsubscribe = uploadTask.on('state_changed', snapshot => { //Success unsubscribe(); }); + uploadTask.catch(err => { //Error unsubscribe();