/
iguana.stopOnError()

iguana.stopOnError()

Normally when an error occurs in your script, Iguana will log the error and stop the component - unless you catch it with pcall(). However, there may be times you want to prevent a component from stopping when an error occurs.

iguana.stopOnError() enables and disables stopping a component so that Iguana can continue processing other messages after logging the error.

-- continue running the component iguana.stopOnError(false)

 

Related content

Script Timeouts
Script Timeouts
More like this
Executing code in Test versus Live
Executing code in Test versus Live
More like this
Windows - Stop and Start Iguana
Windows - Stop and Start Iguana
More like this
Linux - Stop and Start Iguana
Linux - Stop and Start Iguana
More like this
Run Iguana from the command line
Run Iguana from the command line
More like this
Mac OS - Stop and Start Iguana
Mac OS - Stop and Start Iguana
More like this