ASSERT will not cause crash in production image, as it is excluded from 
production builds.
However if ASSERT condition was met than it is good probability that VPP will 
crash shortly after or start to misbehave.

> On 19 Jun 2018, at 04:28, chetan bhasin <chetan.bhasin...@gmail.com> wrote:
> 
> Actually assert is fine if we are doing QA testing but if we deploy build at 
> customer site we don't expect there would be a crash, even in error 
> condition,  error code should be return and that code needs to be handled 
> properly. 
> 
> Thanks, 
> Chetan Bhasin 
> 
> On Tue, Jun 19, 2018, 14:32 Ray Kinsella <m...@ashroe.eu 
> <mailto:m...@ashroe.eu>> wrote:
> Ok - there something we are  missing here.
> Why would you want to do this?
> 
> Ray K
> 
> On 15/06/2018 10:11, chetan bhasin wrote:
> > Hi ,
> > 
> > For deployment , we want to replace assert with error log. Is there a 
> > way in VPP to do that?
> > 
> > Thanks,
> > Chetan
> > 
> 
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9646): https://lists.fd.io/g/vpp-dev/message/9646
Mute This Topic: https://lists.fd.io/mt/22293940/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to