Print errors from previous commit to stderr.

Also provide message in assert too