Catch errors after search