Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
b69adbfc
Commit
b69adbfc
authored
May 31, 2017
by
Eric Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More celery logging
parent
e8a36957
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lms/djangoapps/instructor_task/tasks_base.py
+2
-2
No files found.
lms/djangoapps/instructor_task/tasks_base.py
View file @
b69adbfc
...
...
@@ -48,7 +48,7 @@ class BaseInstructorTask(Task):
This is JSON-serialized and stored in the task_output column of the InstructorTask entry.
"""
TASK_LOG
.
debug
(
'Task
%
s: success returned with progress:
%
s'
,
task_id
,
task_progress
)
TASK_LOG
.
info
(
'Task
%
s: success returned with progress:
%
s'
,
task_id
,
task_progress
)
# We should be able to find the InstructorTask object to update
# based on the task_id here, without having to dig into the
# original args to the task. On the other hand, the entry_id
...
...
@@ -81,7 +81,7 @@ class BaseInstructorTask(Task):
Note that there is no way to record progress made within the task (e.g. attempted,
succeeded, etc.) when such failures occur.
"""
TASK_LOG
.
debug
(
u'Task
%
s: failure returned'
,
task_id
)
TASK_LOG
.
info
(
u'Task
%
s: failure returned'
,
task_id
)
entry_id
=
args
[
0
]
try
:
entry
=
InstructorTask
.
objects
.
get
(
pk
=
entry_id
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment