logo

ap-client

CLI-based client / toolbox for ActivityPub Client-to-Servergit clone https://hacktivis.me/git/ap-client.git
commit: 4216934fa569ac70f6d01ece945c1d303fb6b42d
parent 987c9ed3b9e1dfe01d8f21a665f5fc1c969518aa
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  4 Sep 2023 23:01:21 +0200

script/ap-fetch: Fix error message formatting

Otherwise you would get messages like this:

    Got HTTP::Response=HASH(0x55de71c709b8)->status_line instead of 2xx

Diffstat:

Mscript/ap-fetch2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/script/ap-fetch b/script/ap-fetch @@ -95,6 +95,6 @@ if ($res->is_success) { exit 1; } } else { - print STDERR "Got $res->status_line instead of 2xx\n"; + print STDERR "Got ", $res->status_line, " instead of 2xx\n"; exit 1; }