[fix] Calling on_error

* Fixed issue that caused extra debug message
Version bump