generalize the protocol to return errors, etc.

Arguably the 'ERROR' prefix should just go in here..
This commit is contained in:
Kartik K. Agaram 2023-01-22 11:37:38 -08:00
parent 298cf2edc2
commit 6c4cb395b6
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ function live.run(buf)
live.send_to_driver('ERROR '..tostring(err))
return
end
live.send_to_driver('ok')
live.send_to_driver('{}')
end
end