#155 Add log statement for further investigations

This commit is contained in:
Maximilian Paß
2022-06-09 22:27:52 +02:00
parent 2b18b25f93
commit ecce3c294f

View File

@ -189,6 +189,7 @@ func (rc *rawToCodeOceanWriter) Write(p []byte) (int, error) {
if rc.proxy.webSocketCtx.Err() != nil {
return 0, nil
}
log.Info("Passed WriteToCodeOceanCheck")
err := rc.proxy.sendToClient(dto.WebSocketMessage{Type: rc.outputType, Data: string(p)})
return len(p), err
}