diff --git a/platformio/commands/serialports.py b/platformio/commands/serialports.py index 2e157110..f4232a1b 100644 --- a/platformio/commands/serialports.py +++ b/platformio/commands/serialports.py @@ -81,4 +81,4 @@ def serialports_monitor(**kwargs): try: miniterm.main() except Exception as e: # pylint: disable=W0702 - raise MinitermException("Miniterm: %s" % e) + raise MinitermException(e)