Open battis opened 1 year ago
The obvious "just return
from the function" seems not to be reliable, and some people suggest just throwing an error to end it. Oy.
Related error in course planning tool
In addition, it looks as though the scripts failing to exit gracefully is causing the status updates to max out the number of current scripts, so that progress bars stop updating.
Need to figure out how to get a thread to actually die before the deadline -- at the moment Sheets throws up an error that the script has exceeded the deadline, while the progress bar continues to tick forward, because a second script was started before the deadline ended.