Bug 23432: Replace 'die' with 'warn'
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 23 Sep 2020 11:28:22 +0000 (12:28 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 25 Oct 2020 23:04:18 +0000 (00:04 +0100)
commit6adb1891d2bf602b0434eb87508568e73faa763e
treece1ba98aa94f76da640d4a34af8fb72e9942b1db
parent7e66d6d190af4bd27739bdfe88049899f927c123
Bug 23432: Replace 'die' with 'warn'

This patch simply replaced the die statement with a warn such that the
cron script may continue to rotate other items even if this item cannot
be properly rotated due to corrupt data.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/StockRotationItem.pm