It's fine to nest the calls, but you should handle the error and only continue to the next call, if the first one worked.