Error handling improvements

This commit is contained in:
Ian Renton
2026-08-16 09:26:05 +01:00
parent 0291be3338
commit f8032973ca
16 changed files with 26 additions and 27 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ def infer_mode_type_from_mode(mode):
elif mode.upper() in DATA_MODES:
return "DATA"
else:
if mode.upper() != "OTHER":
if mode.upper() != "OTHER" and mode != "?":
logger.warning(f"Found an unrecognised mode: {mode}. Developer should categorise this.")
return None