Hello,
SabreAMF would benefit from some ability to log errors.
For example we use the following code in our gateway script:
...
$server = new SabreAMF_CallbackServer();
$server->onInvokeService = 'myCallback';
$server->exec();
...
SabreAMF catches all errors cleanly and transfers them to the flash client.
It does so very neatly, however from a server administration perspective,
as well as ease of development, it would be very helpful if we could also
see those errors appear in the PHP error log or a log dedicated for that
purpose.
It could also be just a question of allowing to get the last caught
exception, so for example the next line in the code above could be:
if ( $e = $server->getException() )
// Do something...
This than leaves the client code with the ability to do something
intelligent with the exception, so SabreAMF doesn't need to do anything itself.
Original issue reported on code.google.com by amirab...@googlemail.com on 14 Jun 2009 at 2:07
Original issue reported on code.google.com by
amirab...@googlemail.com
on 14 Jun 2009 at 2:07