Fix duplicate metrics for failures. remove error msg from metric.