Only send error metric if error count is above zero