Make sure all except statements are no longer empty, should help a lot with debugging.

This commit is contained in:
Storm Dragon
2025-06-20 03:03:43 -04:00
parent 4e193f133f
commit a5ca1d28e8
42 changed files with 223 additions and 194 deletions

View File

@ -102,7 +102,8 @@ class memoryManager():
return False
try:
return self.listStorage[name]['index']
except:
except Exception as e:
self.env['runtime']['debug'].writeDebugOut('memoryManager getCurrentIndex: Error accessing index for ' + name + ': ' + str(e), debug.debugLevel.ERROR)
return -1
def isIndexListEmpty(self, name):
if not self.listStorageValid(name):
@ -119,5 +120,6 @@ class memoryManager():
return None
try:
return self.listStorage[name]['list'][currIndex]
except:
except Exception as e:
self.env['runtime']['debug'].writeDebugOut('memoryManager getIndexListElement: Error accessing element for ' + name + ': ' + str(e), debug.debugLevel.ERROR)
return None