mirror of
https://github.com/platformio/platformio-core.git
synced 2025-08-01 02:54:25 +02:00
Show internal errors from "Miniterm" using "platformio serialports monitor" command // Resolve #257
This commit is contained in:
@@ -10,6 +10,8 @@ Release History
|
||||
* Disable project auto-clean while building/uploading firmware using
|
||||
`platformio run --disable-auto-clean <http://docs.platformio.org/en/latest/userguide/cmd_run.html#cmdoption--disable-auto-clean>`_ option
|
||||
(`issue #255 <https://github.com/platformio/platformio/issues/255>`_)
|
||||
* Show internal errors from "Miniterm" using `platformio serialports monitor <http://docs.platformio.org/en/latest/userguide/cmd_serialports.html#platformio-serialports-monitor>`__ command
|
||||
(`issue #257 <https://github.com/platformio/platformio/issues/257>`_)
|
||||
* Fixed `platformio serialports monitor --help <http://docs.platformio.org/en/latest/userguide/cmd_serialports.html#platformio-serialports-monitor>`__ information with HEX char for hotkeys
|
||||
(`issue #253 <https://github.com/platformio/platformio/issues/253>`_)
|
||||
* Handle "OSError: [Errno 13] Permission denied" for PlatformIO installer script
|
||||
|
@@ -7,6 +7,7 @@ import sys
|
||||
import click
|
||||
from serial.tools import miniterm
|
||||
|
||||
from platformio.exception import PlatformioException
|
||||
from platformio.util import get_serialports
|
||||
|
||||
|
||||
@@ -78,5 +79,5 @@ def serialports_monitor(**kwargs):
|
||||
|
||||
try:
|
||||
miniterm.main()
|
||||
except: # pylint: disable=W0702
|
||||
pass
|
||||
except Exception as e: # pylint: disable=W0702
|
||||
raise PlatformioException(str(e))
|
||||
|
Reference in New Issue
Block a user