Bug 35173: Correctly concat error strings
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 27 Oct 2023 10:48:07 +0000 (11:48 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 8 Nov 2023 08:01:20 +0000 (22:01 -1000)
commit4c0191b69023167dba27830904ea6503f248f858
treed4fde9b31c19fd42e7f877027d9ad0bcd8a8056d
parentcb99c788f7c581b148a872c9ed3dcb013c369796
Bug 35173: Correctly concat error strings

This patch moves the call to $sftp->error outside of the double quote
string and into a . concat to properly expose the error message as
apposed to outputting 'Net::SFTP::Foreign=HASH(0x559c9118f0c8)->error'

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 43bd124f873ac118a9f87a5b5160ee99dc8b8a47)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Edifact/Transport.pm