File tree 1 file changed +10
-1
lines changed
readthedocs/projects/tasks
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -220,12 +220,21 @@ class UpdateDocsTask(SyncRepositoryMixin, Task):
220
220
max_retries = 5 # 5 per normal builds, 25 per concurrency limited
221
221
default_retry_delay = 7 * 60
222
222
223
- # Expected exceptions that will be logged as info only and not retried
223
+ # Expected exceptions that will be logged as info only and not retried.
224
+ # These exceptions are not sent to Sentry either because we are using
225
+ # ``SENTRY_CELERY_IGNORE_EXPECTED=True``.
226
+ #
227
+ # All exceptions generated by a user miss-configuration should be listed
228
+ # here. Actually, every subclass of ``BuildUserError``.
224
229
throws = (
225
230
DuplicatedBuildError ,
226
231
ProjectBuildsSkippedError ,
227
232
ConfigError ,
228
233
YAMLParseError ,
234
+ BuildUserError ,
235
+ RepositoryError ,
236
+ MkDocsYAMLParseError ,
237
+ ProjectConfigurationError ,
229
238
)
230
239
231
240
acks_late = True
You can’t perform that action at this time.
0 commit comments