Added error handler when downloading snapshot to prevent app from crashing when camera is unavailable.