Skip to content

Commit ceea2e9

Browse files
committed
logging adjustments
1 parent eea8f08 commit ceea2e9

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

src/components/TcpListenerTask.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ sub listenToTcp()
8989
end if
9090
end if
9191
if closed or not connection.eOK()
92-
print `closing connection ${socketID}`
92+
#if logging
93+
print `closing connection ${socketID}`
94+
#end if
9395
connection.close()
9496
connections.delete(Stri(socketID))
9597
end if

src/components/VideoPlayer.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ sub buildContentNodeForVideo(castContent as object) as object
6161

6262
if castContent.url <> invalid then
6363
videoContent.url = castContent.url
64+
else
65+
#if debug
66+
print "cast content provided an invalid URL field"
67+
print castContent
68+
#end if
6469
end if
6570

6671
videoContent.StreamFormat = mimetype

0 commit comments

Comments
 (0)