Start handling errors better by wrapping in try/catch.