Skip to content

Commit b86983f

Browse files
Narek MkhitaryanNarek Mkhitaryan
authored andcommitted
changed DEBUG level in case of assignment failure filehandler logger setup
1 parent 823af7c commit b86983f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/superannotate/lib/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def setup_logging(level=DEFAULT_LOGGING_LEVEL, file_path=LOG_FILE_LOCATION):
6060
file_handler.setFormatter(file_formatter)
6161
logger.addHandler(file_handler)
6262
except OSError as e:
63-
logging.error(e)
63+
logger.debug(e)
6464

6565

6666
DEFAULT_IMAGE_EXTENSIONS = ["jpg", "jpeg", "png", "tif", "tiff", "webp", "bmp"]

0 commit comments

Comments
 (0)