Empty Cart bug

try-catch
Signed-off-by: Ignacio Quintero <nacho950@gmail.com>