log complete exception message for debugging