Add traceback for exception, loop on exception