Add continue to try-except