From efc0259460b18c36d2017e52ed993dea8f810d2e Mon Sep 17 00:00:00 2001 From: Ken Soh Date: Wed, 21 Jul 2021 00:08:16 +0800 Subject: [PATCH] #1073 - telegram step handle no internet --- src/tagui | 2 +- src/tagui.cmd | 2 +- src/tagui_header.js | 4 ++-- src/test/positive_test.signature | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tagui b/src/tagui index 5d87fd3b..4ff2bc0a 100755 --- a/src/tagui +++ b/src/tagui @@ -6,7 +6,7 @@ chrome_command="google-chrome" if [ -z "$1" ] then -echo "tagui v6.63: use following options and this syntax to run - ./tagui flow_filename option(s)" +echo "tagui v6.64: use following options and this syntax to run - ./tagui flow_filename option(s)" echo echo "tagui live launch TagUI live mode enabled with visual automation for interactive development" echo "tagui update download and update to latest TagUI version (please backup your version beforehand)" diff --git a/src/tagui.cmd b/src/tagui.cmd index 49508e56..452c0b5c 100644 --- a/src/tagui.cmd +++ b/src/tagui.cmd @@ -14,7 +14,7 @@ rem enable windows for loop advanced flow control setlocal enableextensions enabledelayedexpansion if "%~1"=="" ( -echo tagui v6.63: use following options and this syntax to run - tagui flow_filename option^(s^) +echo tagui v6.64: use following options and this syntax to run - tagui flow_filename option^(s^) echo. echo tagui live launch TagUI live mode enabled with visual automation for interactive development echo tagui update download and update to latest TagUI version ^(please backup your version beforehand^) diff --git a/src/tagui_header.js b/src/tagui_header.js index 7a154f8f..01c5591d 100644 --- a/src/tagui_header.js +++ b/src/tagui_header.js @@ -1353,12 +1353,12 @@ return source_code;}; // for calling rest api url synchronously function call_api(rest_url) { // advance users can define api_config for advance calls // the api_config variable defaults to {method:'GET', header:[], body:{}} -var xhttp = new XMLHttpRequest(); xhttp.open(api_config.method, rest_url, false); +try {var xhttp = new XMLHttpRequest(); xhttp.open(api_config.method, rest_url, false); for (var item=0;item