Insert try-catch