From 147bfe70453abe282ab54ba92e09a3711cfc4c68 Mon Sep 17 00:00:00 2001 From: Juerd Waalboer Date: Wed, 25 Jan 2023 04:34:17 +0100 Subject: [PATCH] Make error message fit in 80 chars --- plugins/statiegeld_tokens | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/statiegeld_tokens b/plugins/statiegeld_tokens index 24f82cc..b31f63b 100644 --- a/plugins/statiegeld_tokens +++ b/plugins/statiegeld_tokens @@ -213,7 +213,8 @@ sub hook_checkout_prepare($class, $cart, $username, $transaction_id, @) { : $avail == 1 ? "only 1 deposit token" : "only $avail deposit tokens"; - _warn "you have $only of type $type ($addon->{description})."; + _warn qq[you have $only of type $type.\n] + . qq[($type = "$addon->{description}")]; } # Store data