Remove useless try-except clause