Hide error when callback is hit directly