I think it should also log the `ex.message` to make it easier to identify what was the problem (probably unexpected token on the JSON or file doesn't exist).