Explorar o código

chore: cleanup log - make "cannot restore state" a debug message (#5674)

Xingyao Wang hai 1 ano
pai
achega
2cc6a51fe8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      openhands/controller/state/state.py

+ 1 - 1
openhands/controller/state/state.py

@@ -118,7 +118,7 @@ class State:
             pickled = base64.b64decode(encoded)
             state = pickle.loads(pickled)
         except Exception as e:
-            logger.warning(f'Could not restore state from session: {e}')
+            logger.debug(f'Could not restore state from session: {e}')
             raise e
 
         # update state