Merge pull request #1 from invertase/master

merge back
This commit is contained in:
Nicolas Beck 2017-06-29 17:13:09 +02:00 committed by GitHub
commit d2f9958ca3
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ RNFirebase handles authentication for us out of the box, both with email/passwor
### Properties
##### `authenticated: boolean` - Returns the current Firebase authentication state.
##### `currentUser: User | null` - Returns the currently signed-in user (or null). See the [User](/docs/api/authentication.md#user) class documentation for further usage.
##### `currentUser: User | null` - Returns the currently signed-in user (or null). See the [User](/modules/authentication.md#user) class documentation for further usage.
### Methods

View File

@ -56,7 +56,7 @@ export default class Crash {
* @param maxStackSize
*/
report(error: FirebaseError, maxStackSize: number = 10): void {
if (!error || !error.code || !error.message) return;
if (!error || !error.message) return;
let errorMessage = `Message: ${error.message}\r\n`;