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.
1 parent ebf4761 commit 8acadccCopy full SHA for 8acadcc
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