on_error hook
Merge pull request #1 from change/on_error

on_error hook