diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-06-13 16:03:40 +0500 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-06-13 16:03:40 +0500 |
| commit | c3b3b994c2b28eb146dd7eb8f2a6a9b7881e3987 (patch) | |
| tree | f5eefe4e74045acab5395bc78198dcb3bd891827 | |
| parent | dbc147e9ae85c66fd0be950dc4674bf57dd81ca6 (diff) | |
units/sn_*: Update error messages
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
| -rw-r--r-- | units/sn_auth.zsh | 2 | ||||
| -rw-r--r-- | units/sn_search.zsh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/units/sn_auth.zsh b/units/sn_auth.zsh index aa8ab65..1315208 100644 --- a/units/sn_auth.zsh +++ b/units/sn_auth.zsh @@ -27,7 +27,7 @@ if ! curl --data-urlencode "output_type=2" \ --user-agent "${useragent}" \ "https://saucenao.com/search.php" then - output_text="Failed to process request" + output_text="Failed to access SauceNAO API" log_text="sn_auth (${update_id}): ${output_text}" . "${units}/log.zsh" diff --git a/units/sn_search.zsh b/units/sn_search.zsh index 437c166..4f1e64c 100644 --- a/units/sn_search.zsh +++ b/units/sn_search.zsh @@ -23,7 +23,7 @@ if ! curl --form "output_type=2" \ --user-agent "${useragent}" \ "https://saucenao.com/search.php" then - output_text="Failed to process request" + output_text="Failed to access SauceNAO API" log_text="sn_search (${update_id}): ${output_text}" . "${units}/log.zsh" |
