mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Handle unicode errors
This commit is contained in:
@ -320,7 +320,10 @@ def on_exception(e):
|
|||||||
exception.NotPlatformIOProject,
|
exception.NotPlatformIOProject,
|
||||||
exception.UserSideException)
|
exception.UserSideException)
|
||||||
]
|
]
|
||||||
skip_conditions.append("[API] Account: " in str(e))
|
try:
|
||||||
|
skip_conditions.append("[API] Account: " in str(e))
|
||||||
|
except UnicodeEncodeError as ue:
|
||||||
|
e = ue
|
||||||
if any(skip_conditions):
|
if any(skip_conditions):
|
||||||
return
|
return
|
||||||
is_crash = any([
|
is_crash = any([
|
||||||
|
Reference in New Issue
Block a user