Error Handling corrections on Order release hook