diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 6857e215..deece2b4 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -258,6 +258,6 @@ function loadArticleByIdArticle($sku) return $articles; } catch (Exception $e) { - return; + return "Errore: " . $e->getMessage(); } }