Save StackTrace error to DB. Aggregation query to list the different
erros.Minor changes