Hi,
I am writting a simplified version of an LMS and I want to store the data send to the commit in a database. But in case there is an error I need to say it to the player/document/SCO (whatever you call it) and I have been searching through the source code without finding anything to do this because the callback function (in the processListeners function) return value is completely ignored and because of this if I try to raise an error through the throw new Exception or the throwSCORMErrorit will be ignored as well.
Any way to do it without touching the source code ?
Hi, I am writting a simplified version of an LMS and I want to store the data send to the commit in a database. But in case there is an error I need to say it to the player/document/SCO (whatever you call it) and I have been searching through the source code without finding anything to do this because the callback function (in the
processListeners
function) return value is completely ignored and because of this if I try to raise an error through thethrow new Exception
or thethrowSCORMError
it will be ignored as well. Any way to do it without touching the source code ?