Add more error reporting to method of fragments routine.