I wrote the code as below:

```python
try:
  do_somethong
except TimedOutException as e:
  logger.exception(e)
except Exception as e:
  logger.exception(e)

```

is this same with below code?

```python
try:
  do_somethong
except (TimedOutException, Exception) as e:
  logger.exception(e)

```

I know `TimedOutException` is subclass of `Exception`, should I remove `TimedOutException`? Anyone can explain it for me? Thanks in advance!