Curl timeout breaks script

Posted on 16th Feb 2014 by admin

So im having difficulties with skipping timeout error in curl
my script calls different functions my problem is lets say if in function2 is curl timeout error it wont continue with function3 but kills entire script. Is there any way to skip function2 (if there is timeout error) and continue with function3


// Start calling functions

function1();
function2();
function3();
function4();
function5();

Other forums