Print stack traces when available.