Skip to content

Commit ad5866f

Browse files
committed
Server - improve boot logging
1 parent 4b68a0d commit ad5866f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/server/ruby/bin/sonic-pi-server.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@
342342
begin
343343
STDOUT.puts "Starting Server Runtime"
344344
sp = klass.new sonic_pi_ports, ws_out, user_methods
345+
STDOUT.puts "Server Runtime Initialised"
345346

346347
# read in init.rb if exists
347348
if File.exists?(init_path)
@@ -464,6 +465,7 @@
464465
server.add_method("/ping") do |args|
465466
gui_id = args[0]
466467
id = args[1]
468+
STDOUT.puts "Received /ping, sending /ack to GUI"
467469
gui.send("/ack", id)
468470
end
469471

0 commit comments

Comments
 (0)