Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Provide an error callback #83

Open
thbar opened this Issue Mar 21, 2012 · 2 comments

Comments

Projects
None yet
1 participant
Owner

thbar commented Mar 21, 2012

Currently one have to look at etl.log to get a better grasp on errors.

We need a way for the user to define an error callback, opening the ability to:

  • do custom errors notifications or storage
  • stop the processing based on arbitrary criterias
error_callback do |error|
  # do something

  return false # stop the processing
end

Things to consider

  • should it be possible for the callee to stop the process with error, by returning false or something?
  • can a callback return something to indicate the error should be dropped?
Owner

thbar commented Mar 31, 2012

This needs some documentation now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment