@@ -69,8 +69,7 @@ |
||
69 | 69 | 'transFatContent' => round($result->totalNutrients->FATRN->quantity ?? 0 / $yield, 1), |
70 | 70 | 'unsaturatedFatContent' => round(($result->totalNutrients->FAMS->quantity ?? 0 + $result->totalNutrients->FAPU->quantity ?? 0) / $yield, 1), |
71 | 71 | ]; |
72 | - } |
|
73 | - catch (Exception $exception) { |
|
72 | + } catch (Exception $exception) { |
|
74 | 73 | $message = 'Error fetching nutritional information from API. '; |
75 | 74 | |
76 | 75 | switch ($exception->getCode()) { |