When I executed this code, that I have ran literally hundreds of times without issues
I got a really weird error message between
log "i" and
There was an error in Safari. Safari AppleEvent timed out (my translation) as well as this odd file path:
I am just concatenating some text strings here. How can that time out??
(In the event log I see the log i message but not the log title message).