system.tag.writeBlocking() not handled by try/except block

For complicated reasons, Jython exceptions are distinct from Java exceptions, and so you need to catch both, separately:

4 Likes