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>
This commit is contained in:
parent
7e66d6d190
commit
6adb1891d2
|
|
@ -135,7 +135,7 @@ sub needs_advancing {
|
|||
return 0;
|
||||
}
|
||||
} else {
|
||||
die "We have no historical branch transfer; this should not have happened!";
|
||||
warn "We have no historical branch transfer for itemnumber " . $self->itemnumber->itemnumber . "; This should not have happened!";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue