github-education-resources / classroom

GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
https://classroom.github.com
1.35k stars 568 forks source link

Increment metric when users attempt to use non-template repo w/ template setting enabled #2430

Open d12 opened 5 years ago

d12 commented 5 years ago

https://github.com/education/classroom/blob/d4246ec6ec1dca8399d6d965a7577ad430ad5374/app/models/concerns/starter_code_importable.rb#L29

Let's increment a ddog metric here, we can't tell if this is an error users are frequently seeing.

cc @andrewbredow @femmebot