Skip to content

Commit c105c65

Browse files
authored
Update main.py
1 parent d086262 commit c105c65

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

builder/main.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -408,15 +408,15 @@ def firmware_metrics(target, source, env):
408408
if result.returncode != 0:
409409
print(f"Warning: esp-idf-size exited with code {result.returncode}")
410410

411-
except ImportError:
412-
print("Error: esp-idf-size module not found.")
413-
print("Install with: pip install esp-idf-size")
414-
except FileNotFoundError:
415-
print("Error: Python executable not found.")
416-
print("Check your Python installation.")
417-
except Exception as e:
418-
print(f"Error: Failed to run firmware metrics: {e}")
419-
print("Make sure esp-idf-size is installed: pip install esp-idf-size")
411+
except ImportError:
412+
print("Error: esp-idf-size module not found.")
413+
print("Install with: pip install esp-idf-size")
414+
except FileNotFoundError:
415+
print("Error: Python executable not found.")
416+
print("Check your Python installation.")
417+
except Exception as e:
418+
print(f"Error: Failed to run firmware metrics: {e}")
419+
print("Make sure esp-idf-size is installed: pip install esp-idf-size")
420420

421421
#
422422
# Target: Build executable and linkable firmware or FS image

0 commit comments

Comments
 (0)