private handle_callback_exception ( System.Action callback, |
||
callback | System.Action | |
ex | ||
return | void |
private void handle_callback_exception(Action callback, Exception ex)
{
/*This method is called whenever a callback run by the IOLoop
throws an exception.
By default simply logs the exception as an error. Subclasses
may override this method to customize reporting of exceptions.
The exception itself is not passed explicitly, but is available
in sys.exc_info.
*/
logging.error(string.Format("Exception in callback {0}", callback), ex);
}
}