Bug 35173: Correctly concat error strings
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 27 Oct 2023 10:48:07 +0000 (11:48 +0100)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 13 Nov 2023 15:22:16 +0000 (15:22 +0000)
commit3cd47926829158bbe331396e689344ecdd6cedbd
tree3661dbb08a882a213420596c1ef7399bf0f905dd
parentb1628a56a0bc2e02340a9bb2d7af7736b33a16a5
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>
(cherry picked from commit 4c0191b69023167dba27830904ea6503f248f858)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/Edifact/Transport.pm