From 5ea3f2bbc664af76ee5b5c09c7566c5645fbd07e Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 17 Aug 2019 23:58:05 +0300 Subject: [PATCH] Use board ID when InternetIsOffline for getting resent projects // Resolve #2866 --- platformio/commands/home/rpc/handlers/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/commands/home/rpc/handlers/project.py b/platformio/commands/home/rpc/handlers/project.py index 1f13d767..795bde77 100644 --- a/platformio/commands/home/rpc/handlers/project.py +++ b/platformio/commands/home/rpc/handlers/project.py @@ -86,7 +86,7 @@ class ProjectRPC(object): name = board_id try: name = pm.board_config(board_id)['name'] - except (exception.UnknownBoard, exception.UnknownPlatform): + except exception.PlatformioException: pass boards.append({"id": board_id, "name": name})