wrap fn / filter / sort calls in try catch