I need my extension to throw an exception which includes a stack trace.
I tried Mage::throwException('message')
but nothing is logged in var/log/exception.log
nor at var/log/system.log
nor in the vhost error log
I am calling the line from a helper class.