Back off the log message for Battle.net load failure- it can just be a warning with no traceback.

I'd use logger.debug, but this happens before the command line options are handled, so '--debug' is not yet in effect.
This commit is contained in:
Daniel Johnson 2023-12-07 17:01:59 -05:00
parent 96b4211ea1
commit 0710be1179

View file

@ -20,7 +20,7 @@ try:
from lutris.util.battlenet.product_db_pb2 import ProductDb
BNET_ENABLED = True
except (ImportError, TypeError) as ex:
logger.exception("The Battle.net source is unavailable because Google protobuf could not be loaded: %s", ex)
logger.warning("The Battle.net source is unavailable because Google protobuf could not be loaded: %s", ex)
BNET_ENABLED = False