2
0
mirror of https://github.com/ad1217/PrinterStatus synced 2024-11-14 12:13:48 -05:00

Remove debug prints

This commit is contained in:
Adam Goldsmith 2020-02-19 20:43:39 -05:00
parent 69efcd94da
commit a08e57afad

View File

@ -107,7 +107,6 @@ class PrinterStatus {
}) })
.on('message', (data: WebSocket.Data) => { .on('message', (data: WebSocket.Data) => {
const event: octoprint.Message = JSON.parse(data as string); const event: octoprint.Message = JSON.parse(data as string);
console.log(event);
let ext_event: messages.ExtendedMessage = { let ext_event: messages.ExtendedMessage = {
...event, ...event,
@ -143,7 +142,6 @@ class PrinterStatus {
send_init(ws: WebSocket) { send_init(ws: WebSocket) {
let payload: messages.ExtendedMessage; let payload: messages.ExtendedMessage;
console.log(this.lastStatus);
if (this.lastStatus) { if (this.lastStatus) {
payload = this.lastStatus; payload = this.lastStatus;
} else { } else {