Improved error handling for gradient processing.
Improved error handling for gradient processing.

team-parasol/parasol,team-parasol/parasol,team-parasol/parasol,team-parasol/parasol,team-parasol/parasol