Skip to content

Commit

Permalink
Add more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Oct 21, 2012
1 parent f2d6c00 commit 31c1365
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readthedocs/projects/tasks.py
Expand Up @@ -137,6 +137,7 @@ def new_save(*args, **kwargs):
build = {}

try:
log.info("Updating docs from VCS")
update_result = update_imported_docs.apply_async(args=[version.pk], queue='builder')
update_output = update_result.get()
except ProjectImportError, err:
Expand All @@ -161,6 +162,7 @@ def new_save(*args, **kwargs):
build['setup_error'] = error_data
api.build(build['id']).put(build)

log.info("Building docs")
# This is only checking the results of the HTML build, as it's a canary
build_result = build_docs.apply_async(
kwargs=dict(
Expand Down

0 comments on commit 31c1365

Please sign in to comment.