This seems a bit dangerous. Can you catch specific exceptions here?

If you're going to do this, please add `# pylint: disable=broad-except` two spaces after the end of this line.