route the unknown-data-type message through the logger

save_display_data_as_text printed via the removed log() helper;
use logger.warning instead so the message lands in the log window.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
markusro committed 2026-10-19 23:16:26 +02:00
1 parent 0135504de2
commit 0135f9b7a3
1 file changed
+1 -1
+1 -1
View File
@@ -3740,7 +3740,7 @@ class MonitorWidgets:
# nothing to save
return
if not hasattr( data_to_save[ 1 ], "write_to_csv" ):
log( "do not know how to save %s of class/type %s" % (data_to_save[ 0 ], type( data_to_save[ 1 ] )) )
logger.warning( "do not know how to save %s of class/type %s" % (data_to_save[ 0 ], type( data_to_save[ 1 ] )) )
return
# save them to a temporary file (in memory)