use general try-catch in sink