openfun / fun-apps

:warning: DEPRECATED :warning:
Other
15 stars 20 forks source link

Fix update courses fail on invalid key error #701

Closed sampaccoud closed 4 years ago

sampaccoud commented 4 years ago

Purpose

It can happen that a course has an invalid key but it should not break the update_courses command for other courses.

Proposal

I propose to catch InvalidKeyError, log an error to Sentry and continue with the remaining courses.