how to catch error from calling a xbmc.executebuiltin?
#1
Question 
maybe some you more experienced addon-developers can help me with this problem:

i'm calling the following function from within a xbmc-script-addon:

xbmc.executebuiltin('XBMC.WakeOnLan("000")')

this produces the following error in the XBMC.log:

CNetwork::WakeOnLan - Invalid hardware address specified (000)

is there a way to catch that exception (and others that might occur using this WakeOnLan-executebuiltin-call) to change the behaviour of my script depending on the success or failure of the executebuiltin-call?
Reply

Logout Mark Read Team Forum Stats Members Help
how to catch error from calling a xbmc.executebuiltin?0