Better error catch.