File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/databricks/sql/telemetry Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -539,12 +539,24 @@ def initialize_telemetry_client(
539
539
session_id_hex ,
540
540
flush = True ,
541
541
)
542
+ else :
543
+ print (
544
+ "\n Session ID already in clients: %s" ,
545
+ session_id_hex ,
546
+ flush = True ,
547
+ )
542
548
print (
543
549
"\n RELEASED: Telemetry client initialized: %s" ,
544
550
session_id_hex ,
545
551
flush = True ,
546
552
)
547
553
except Exception as e :
554
+ print (
555
+ "\n ERROR: Failed to initialize telemetry client: %s due to %s" ,
556
+ session_id_hex ,
557
+ e ,
558
+ flush = True ,
559
+ )
548
560
logger .debug ("Failed to initialize telemetry client: %s" , e )
549
561
# Fallback to NoopTelemetryClient to ensure connection doesn't fail
550
562
TelemetryClientFactory ._clients [session_id_hex ] = NoopTelemetryClient ()
You can’t perform that action at this time.
0 commit comments