Print exception message in example file