Is this the best way to handle DEBUG mode?  Print the exception to the console?