Added some extra debug on exception.