Firebase storage.uploadBytesResumable returns ‘success’ when it fails – how to catch error then? It logs this error: Error: PERMISSION_DENIED: Permission denied