Fixed call to LogicException
Merge pull request #204 from bgaluszka/develop

Fixed call to LogicException