Log error only if there is no callback