-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not show error in test app when binary attachment is not present #193
Do not show error in test app when binary attachment is not present #193
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my comment on a minor wording improvement
TestApp/AttachmentsProvider.js
Outdated
@@ -31,7 +31,7 @@ export default class AttachmentsProvider { | |||
try { | |||
contents = await RNFS.readFile(path, DEFAULT_ENCODING); | |||
} catch (error) { | |||
console.error('Error while reading binary attachment file'); | |||
console.log('Error while reading binary attachment file'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
console.log(`Error while reading binary attachment file, error: ${error}`);
@@ -31,7 +31,7 @@ export default class AttachmentsProvider { | |||
try { | |||
contents = await RNFS.readFile(path, DEFAULT_ENCODING); | |||
} catch (error) { | |||
console.error('Error while reading binary attachment file'); | |||
console.log(`Error while reading binary attachment file, error: ${error}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make the same change for DemoApp/AttachmentsProvider.js ?
No description provided.