Replace blob logic with try catch.