History | Log In     View a printable version of the current page.  
We are currently focused especially on Moodle 2.0, Moodle 1.9.x bugs and Moodle 1.9.x testing.    Confused? Lost? Please read this introduction to the Tracker.
Issue Details (XML | Word | Printable)

Key: MDL-10166
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Martin Dougiamas
Reporter: Luis Rodrigues
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Moodle
MDL-10107

events_trigger error reporting

Created: 19/Jun/07 09:59 AM   Updated: 19/Jun/07 11:29 AM
Component/s: Messages
Affects Version/s: 1.9
Fix Version/s: None

Participants: Luis Rodrigues and Martin Dougiamas
Security Level: None


 Description  « Hide
While replacing the email_to_user I had a problem:
I need to know if an event call failed or not (cron status report, etc) but events_trigger only gives me the number of failed events.

How can I make events_triger report if it failed for the called event?



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Martin Dougiamas - 19/Jun/07 10:27 AM
You don't really know about cron events because they may happen hours later.

Just check that the returned number of failed 'instant' events is zero, that should be enough.