Skip to content

Commit ae8dc9f

Browse files
committed
Change unsupported version to warning
1 parent 47f61de commit ae8dc9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SparkFunKiCadPanelizer/plugin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def run_panelizer(dlg, p_panelizer):
9797
self.logger.log(logging.INFO, "Running Panelizer")
9898

9999
if not self.IsSupported():
100-
# Log an error if this version of KiCad has not been tested
101-
self.logger.log(logging.ERROR, "Version check failed. \"{}\" may not be supported. Panelizing may fail".format(self.kicad_build_version))
100+
# Log a warning if this version of KiCad has not been tested
101+
self.logger.log(logging.WARNING, "Version check failed. \"{}\" may not be supported. Panelizing may fail".format(self.kicad_build_version))
102102

103103
command = []
104104

@@ -162,7 +162,7 @@ def run_panelizer(dlg, p_panelizer):
162162
sysExit, report = p_panelizer.startPanelizerCommand(command, board, self.ordering_instructions, self.logger)
163163
logWarn = logging.INFO
164164
if sysExit >= 1:
165-
logWarn = logging.WARN
165+
logWarn = logging.WARNING
166166
if sysExit >= 2:
167167
logWarn = logging.ERROR
168168
self.logger.log(logWarn, report)

0 commit comments

Comments
 (0)