Added debug line to shell error function.
4.2.2