on sl error: print exception inside for loop, and do not continue the loop