Runtime error in currentTaskInstanceCookies
I came across the following runtime error when closing the browser tab of a BasicAPIExamples instance:
Run time error, rule '\;110;30;38.39' in module 'iTasks.SDS.Sources.System' does not match
This refers to the read function for currentTaskInstanceCookies
. Apparently it is possible that the pattern there does not match. Maybe the cookies are accessed after the instance has been removed, and the list is empty?
I have not found a way to reproduce this yet, but it seems fairly straightforward to make this function total by making the read type ?Cookies
or returning an empty map when there is no match. For a list with two elements an abort tracing an error may still be appropriate as this really should not happen.