"NewbyDeveloper" wrote:
Thanks - just thinking back to when I used to write Basic years ago - there was an "On Error" function you could use.
So there's nothing like that in Brightscript?
"NewbyDeveloper" wrote:
Just out of interest.... scouring the net I found some ROKU PDF that refers to Brightsign BrightScript....
and it has this in....which doesn't work .... but just adds to the confusion I guess .... an Older version of Brightscript perhaps???
For the benefit of other people finding this thread, I would like to state that on top of the actual TRY / CATCH which was added in Roku OS 9.4, starting with version 13, we now also have GetLastExitInfo(), that allows your channel to get the last 20 log messages along with other information about previous crashes, which it could then use to upload to your servers.