under the 'handlers' key of self.config dictionary, substitute the result for value under 'target' key of config dictioanry. if StandardError, renamed to e, exception is caught,
except StandardError as e :