Revonzy Mini Shell

Şuanki Dizin: /lib/python2.7/site-packages/tuned/
Dosya Yükle :
Şuanki Dosya : //lib/python2.7/site-packages/tuned/exceptions.py

import tuned.logs
import sys
import traceback

exception_logger = tuned.logs.get()

class TunedException(Exception):
	"""
	"""

	def log(self, logger = None):
		if logger is None:
			logger = exception_logger
		logger.error(str(self))
		self._log_trace(logger)

	def _log_trace(self, logger):
		(exc_type, exc_value, exc_traceback) = sys.exc_info()
		if exc_value != self:
			logger.debug("stack trace is no longer available")
		else:
			exception_info = "".join(traceback.format_exception(exc_type, exc_value, exc_traceback)).rstrip()
			logger.debug(exception_info)

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux vps.suncrosonline.com 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64
Apache
162.241.69.42