Fix quotes in examples
Use logger.error instead of logger.exception for less verbose output