[BZ-1077344] avoid to log an exception when constraint jitting is not possible
(cherry picked from commit c96f4ee3eea0fdd786dd619a7f9a29df4deab49b)