diff --git a/Tests/35chartrender.php b/Tests/35chartrender.php index a2189b6d..43bbc245 100644 --- a/Tests/35chartrender.php +++ b/Tests/35chartrender.php @@ -113,7 +113,11 @@ foreach($inputFileNames as $inputFileName) { if (file_exists($jpegFile)) { unlink($jpegFile); } - $chart->render($jpegFile); + try { + $chart->render($jpegFile); + } catch (Exception $e) { + echo 'Error rendering chart: ',$e->getMessage(); + } } } }