diff --git a/platformio/commands/run.py b/platformio/commands/run.py index 6f290ed9..0159de87 100644 --- a/platformio/commands/run.py +++ b/platformio/commands/run.py @@ -56,7 +56,7 @@ def cli(ctx, environment, target, upload_port, # pylint: disable=R0913,R0914 if not disable_auto_clean: try: _clean_pioenvs_dir(util.get_pioenvs_dir()) - except Exception: + except: # pylint: disable=bare-except click.secho( "Can not remove temporary directory `%s`. Please remove " "`.pioenvs` directory from the project manually to avoid "