If a notebook has an error, the offending line should be highlighted. If you don't check the output, it's possible you might not even realize there was an error. For example:
#Print out the schema
#Advanced Option 1
This had an error, but the schema filled the result output and I'd never know unless I scrolled to the bottom of the output.