try catch y logs