Handle errors in listen_diff correctly