"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.
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
We're sorry for this disruption — we’re excited to share what’s next!