Is it possible to have calculate_feature_matrix to fail quietly? I'm thinking something similar to how many R functions have na.option=pass. The reason for this is when you are scoring on new data, say for production and you have some weird data in it, you may want a warning to come up, but you don't want the whole process to stop.
Basically if it were to error out, instead it will fill in the column with na and continue on.