D3/Sneha | #1016 | handling error scenario for photo-capture.