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
f7c45cf4
Commit
f7c45cf4
authored
Jul 07, 2016
by
Adam
Committed by
GitHub
Jul 07, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12952 from edx/adam/quiet-logs
quiet some noisy logs
parents
01e21049
a19d2e76
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
common/lib/xmodule/xmodule/capa_base.py
+5
-2
common/lib/xmodule/xmodule/capa_module.py
+2
-2
common/lib/xmodule/xmodule/course_module.py
+1
-1
No files found.
common/lib/xmodule/xmodule/capa_base.py
View file @
f7c45cf4
...
@@ -1067,8 +1067,11 @@ class CapaMixin(CapaFields):
...
@@ -1067,8 +1067,11 @@ class CapaMixin(CapaFields):
self
.
set_last_submission_time
()
self
.
set_last_submission_time
()
except
(
StudentInputError
,
ResponseError
,
LoncapaProblemError
)
as
inst
:
except
(
StudentInputError
,
ResponseError
,
LoncapaProblemError
)
as
inst
:
log
.
warning
(
"StudentInputError in capa_module:problem_check"
,
if
self
.
runtime
.
DEBUG
:
exc_info
=
True
)
log
.
warning
(
"StudentInputError in capa_module:problem_check"
,
exc_info
=
True
)
# Save the user's state before failing
# Save the user's state before failing
self
.
set_state_from_lcp
()
self
.
set_state_from_lcp
()
...
...
common/lib/xmodule/xmodule/capa_module.py
View file @
f7c45cf4
...
@@ -98,8 +98,8 @@ class CapaModule(CapaMixin, XModule):
...
@@ -98,8 +98,8 @@ class CapaModule(CapaMixin, XModule):
try
:
try
:
result
=
handlers
[
dispatch
](
data
)
result
=
handlers
[
dispatch
](
data
)
except
NotFoundError
as
err
:
except
NotFoundError
:
log
.
exception
(
log
.
info
(
"Unable to find data when dispatching
%
s to
%
s for user
%
s"
,
"Unable to find data when dispatching
%
s to
%
s for user
%
s"
,
dispatch
,
dispatch
,
self
.
scope_ids
.
usage_id
,
self
.
scope_ids
.
usage_id
,
...
...
common/lib/xmodule/xmodule/course_module.py
View file @
f7c45cf4
...
@@ -1244,7 +1244,7 @@ class CourseDescriptor(CourseFields, SequenceDescriptor, LicenseMixin):
...
@@ -1244,7 +1244,7 @@ class CourseDescriptor(CourseFields, SequenceDescriptor, LicenseMixin):
raise
ValueError
raise
ValueError
return
ret
return
ret
except
(
TypeError
,
ValueError
):
except
(
TypeError
,
ValueError
):
log
.
exception
(
log
.
info
(
"Error parsing discussion_blackouts
%
s for course
%
s"
,
"Error parsing discussion_blackouts
%
s for course
%
s"
,
self
.
discussion_blackouts
,
self
.
discussion_blackouts
,
self
.
id
self
.
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