diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-08-25 13:22:28 +0500 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-08-25 13:24:29 +0500 |
| commit | d4204bb7b8c9f670bb4d738faffd2539a2197c46 (patch) | |
| tree | 52f8f73cadae0338d5613b2bb294fd589757545c /units/sn_get.zsh | |
| parent | 31995edbf220bd4f5c402406db780b10ea071d24 (diff) | |
*/*: Remove too many articles
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'units/sn_get.zsh')
| -rw-r--r-- | units/sn_get.zsh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/units/sn_get.zsh b/units/sn_get.zsh index 6ffb4c2..2c28069 100644 --- a/units/sn_get.zsh +++ b/units/sn_get.zsh @@ -36,7 +36,7 @@ if ! curl --connect-timeout ${connrefused_timeout} \ --user-agent "${useragent}" \ "${api_address}/bot${api_token}/getFile" then - output_text="Failed to get the image file" + output_text="Failed to get image file" log_text="getFile (${update_id}): Failed to access Telegram Bot API" . "${units}/log.zsh" @@ -58,7 +58,7 @@ fi if [[ "$(jq -r '.ok' "${output_file}")" != "true" ]] then - output_text="Failed to get the image file" + output_text="Failed to get image file" error_description="$(jq -r '.description' "${output_file}")" if [[ "${error_description}" != "null" ]] @@ -92,7 +92,7 @@ then --user-agent "${useragent}" \ "${api_address}/file/bot${api_token}/${file_path}" then - output_text="Failed to download the image file" + output_text="Failed to download image file" log_text="getFile (${update_id}): Failed to access Telegram Bot API" . "${units}/log.zsh" @@ -103,7 +103,7 @@ then if [[ "$(jq -r '.ok' "${output_file}")" == "false" ]] then - output_text="Failed to download the image file" + output_text="Failed to download image file" error_description="$(jq -r '.description' "${output_file}")" if [[ "${error_description}" != "null" ]] |
