I ususally use $exception->getTraceAsString() which is super helpful.