Skip to content

Commit 1176c71

Browse files
committed
Improve comment explaining what each exception means
1 parent ddd661b commit 1176c71

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

readthedocs/projects/tasks.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,9 @@ def run(self, version_pk): # pylint: disable=arguments-differ
266266

267267

268268
# Exceptions under ``throws`` argument are considered ERROR from a Build
269-
# perspective but as a WARNING for the application itself. These exception are
270-
# logged as ``INFO`` and they are not sent to Sentry.
269+
# perspective (the build failed and can continue) but as a WARNING for the
270+
# application itself (RTD code didn't failed). These exception are logged as
271+
# ``INFO`` and they are not sent to Sentry.
271272
@app.task(
272273
bind=True,
273274
max_retries=5,

0 commit comments

Comments
 (0)