handle general exceptions to keep stuff going