Added verbose debug prints on exceptions