We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ebf4761 + 8acadcc commit 7e97976Copy full SHA for 7e97976
src/factorio_server.go
@@ -208,7 +208,7 @@ func (f *FactorioServer) parseRunningCommand(std io.ReadCloser) (err error) {
208
209
line := strings.Fields(stdScanner.Text())
210
// Ensure logline slice is in bounds
211
- if len(line) > 0 {
+ if len(line) > 1 {
212
// Check if Factorio Server reports any errors if so handle it
213
if line[1] == "Error" {
214
err := f.checkLogError(line)
0 commit comments