Handle error on camera