I have written a macro in ImageJ to run batch "Measurements" on a list of BMP image files. I am running the code on a remote linux machine in headless mode using headless.jar.
Whenever ImageJ encounters an error or exception while reading/loading an image in the list, it exits the process. Hence, I have to constantly monitor the process and manually force ImageJ to skip the file.
Is there a way I can force ImageJ to continue with the process even though it encountered an error/exception? and report the filename maybe in the logs or another file?