Skip to content

Commit 23c9233

Browse files
Merge pull request #35 from synonymdev/error-crash-fix
Fix Crash Issue for RN v0.66+
2 parents 1254e4e + ace3971 commit 23c9233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/result.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class Err<T> {
1616
public constructor(public readonly error: Error) {
1717
// Don't console log for unit tests or if we're not in dev mode
1818
if (process.env.JEST_WORKER_ID === undefined && __DEV__) {
19-
console.error(error);
19+
console.info(error);
2020
}
2121
}
2222

0 commit comments

Comments
 (0)