Adding more try-except.