add hooks for jack_set_error and jack_set_info