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

Add/Edit UI Mockup to this issue
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
Return to search
Component/s: Messages
Affects Version/s: 1.9
Fix Version/s: None

Participants: Luis Rodrigues and Martin Dougiamas
Security Level: None
Affected Branches: MOODLE_19_STABLE


 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 added a comment - 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.


Luis Rodrigues made changes - 19/Jun/07 11:29 AM
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]