There is no more info in the unfiltered logs, I have tried fiddling the parameters but still I get the error.
What is strange is that the photo always gets taken ie. Camera_PictureTaken gets called and I see the photo. Once in a while I get no error but 99% of the time I do get the error.
If I put error handling around TakePicture I think my problem will be solved, but I prefer to keep the libraries standard so I don't need to worry about the bits I've edited when downloading new versions.