catch api exceptions in screen saver