Skip to content

Commit e89a5ed

Browse files
authored
[importer] Change error logging from exception to warning for python-magic package import (#4160)
1 parent 84d4002 commit e89a5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

desktop/core/src/desktop/lib/importer/operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
is_magic_lib_available = True
3737
except ImportError as e:
38-
LOG.exception(f"Failed to import python-magic: {str(e)}")
38+
LOG.warning(f"Failed to import python-magic: {e}")
3939
is_magic_lib_available = False
4040

4141

0 commit comments

Comments
 (0)