Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
6c6d35cf
Commit
6c6d35cf
authored
Dec 22, 2008
by
Nigel McNie
Browse files
Prevent an exception killing processing of the entire activity queue. Whoops!
(cherry picked from commit
823ab316
)
parent
5f9c0712
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/activity.php
View file @
6c6d35cf
...
...
@@ -199,7 +199,14 @@ function activity_process_queue() {
}
$viewsnotified
[
$data
->
view
]
=
true
;
}
handle_activity
(
$activity
->
type
,
$data
,
true
);
try
{
handle_activity
(
$activity
->
type
,
$data
,
true
);
}
catch
(
MaharaException
$e
)
{
// Exceptions can happen while processing the queue, we just
// log them and continue
log_debug
(
$e
->
getMessage
());
}
}
delete_records
(
'activity_queue'
);
}
...
...
Write
Preview
Supports
Markdown
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