If the player's fleet were to fail, script would interpret the "No remaining fleet" as a commission info message and accept it, after which the game sends you back to the world map, effectively freezing the script (doesn't do any more attempts).
Re-entering the specified map manually seems to resume normal operation as seen by this log
[2019-12-21 16:19:31] Boss fleet was found.
[2019-12-21 16:19:34] Moving towards objective.
[2019-12-21 16:19:37] Starting combat.
[2019-12-21 16:21:31] Found commission info message. ///No remaining fleet message received
[2019-12-21 16:25:24] Current location is: [1510, 551] ///After manual fix
[2019-12-21 16:25:24] Enemies found at: [[1002, 258], [1188, 492]]
[2019-12-21 16:25:24] Closest enemy is at [1188, 492]
[2019-12-21 16:25:27] Moving towards objective.
[2019-12-21 16:25:39] Starting combat.
[2019-12-21 16:26:43] Combat ended.
If the player's fleet were to fail, script would interpret the "No remaining fleet" as a commission info message and accept it, after which the game sends you back to the world map, effectively freezing the script (doesn't do any more attempts).
Re-entering the specified map manually seems to resume normal operation as seen by this log