Add additional error checking, exit early if errors occur.
1 file changed