Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Print stack trace for errors while persisting cache #60

Merged
merged 1 commit into from
Mar 23, 2016

Conversation

yungsters
Copy link

Makes a couple improvements to the error reporting when persisting the cache.

  • Print the entire error stack (which typically includes the error message).
  • Print [node-haste] so that it's more obvious who is responsible for printing this error.

I've tested this with react-native by making a Babel transform throw an expected error.

@yungsters
Copy link
Author

How this actually looks (for employees only, sorry): https://phabricator.fb.com/P56228002

@cpojer cpojer merged commit 13212c9 into facebookarchive:master Mar 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants