mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Change ModuleNotFoundError to ImportError
THat's what you get from developing with Python 3.6 instead of 3.5
This commit is contained in:
parent
116ea76fbb
commit
2a09404235
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ from UM.Logger import LogOutput
|
|||
from typing import Set
|
||||
try:
|
||||
from sentry_sdk import add_breadcrumb
|
||||
except ModuleNotFoundError:
|
||||
except ImportError:
|
||||
pass
|
||||
from typing import Optional
|
||||
import os
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue