Print exception instead of letting it propagate

Propagation does not cause the exception to be printed in Cygwin.