Skip to content

Commit

Permalink
feat(onError): ✨Propagate errors to onError
Browse files Browse the repository at this point in the history
  • Loading branch information
vivaxy committed Jan 16, 2018
1 parent ae00024 commit 4d9a14d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default class AutoHeightImage extends PureComponent {
}
} catch (ex) {
if (this.props.onError) {
this.props.onError(ex);
this.props.onError(ex);
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2726,6 +2726,10 @@ react-devtools-core@^2.0.8:
cross-env "^3.1.4"
ws "^2.0.3"

react-native-android-image-polyfill@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/react-native-android-image-polyfill/-/react-native-android-image-polyfill-1.0.0.tgz#f0b61bac0c6a91b8f8f81233ab1998613adf64ac"

react-native@^0.43.4:
version "0.43.4"
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.43.4.tgz#92fb6937ab415b2e5612835a93a61845de98eb4d"
Expand Down

0 comments on commit 4d9a14d

Please sign in to comment.