Attempted prevention of an infinite loop when an exception is generated
from the logger

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>