Improve documentation and trim output.

This commit is contained in:
2017-02-16 22:46:29 +10:30
parent 8c71993886
commit 4c595d75d4
2 changed files with 6 additions and 2 deletions

2
dau
View File

@@ -107,7 +107,7 @@ sub upload {
my $size = $res->json->{attachments}->[0]->{size};
my $width = $res->json->{attachments}->[0]->{width};
my $height = $res->json->{attachments}->[0]->{height};
info("uploaded ${width}x${height} $size bytes images to $url, submitted to webhook successfully");
info("uploaded ${width}x${height} $size byte image to $url");
}
else {
debug(Dumper($tx));