add more exception info in raise