diff --git a/Koha/StockRotationItem.pm b/Koha/StockRotationItem.pm index b46dc3cc88..43d949acaa 100644 --- a/Koha/StockRotationItem.pm +++ b/Koha/StockRotationItem.pm @@ -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!"; } }