Report bugs and issues related to beta testing here, so as to not confuse those with stable releases.
Condition Scripts with errors crash CastleOS
Phil Hawthorne Posts: 400
4/3/2016
|
With the change of function name for the WriteDatabaseEntry method, my ping.cs script now fails.
When my lights check to see if the TV is still on, it calls WriteDatabaseEntry. However, now that method doesn't exist, it crashes. CastleOS fails, and can not be accessed until it restarts.
It should be like Core scripts, where they don't crash CastleOS
|
|
-1
link
|
Chris Cicchitelli Administrator Posts: 3390
4/3/2016
|
So you're saying a condition script will crash the service, but an action script will not?
|
|
+1
link
|
Phil Hawthorne Posts: 400
4/3/2016
|
Chris Cicchitelli wrote: So you're saying a condition script will crash the service, but an action script will not? Correct
|
|
+1
link
|
Chris Cicchitelli Administrator Posts: 3390
4/10/2016
|
Fixed, thank you. It was missing try/catch block
|
|
+1
link
|