Skip to content

Commit 9abdfa1

Browse files
committed
removed CircleCI, added error handler
1 parent 6d3e89e commit 9abdfa1

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

circle.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

logpipe.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ func main() {
7272
fmt.Println(text)
7373
logger.Log(logging.Entry{Payload: text})
7474
}
75+
if err := scanner.Err(); err != nil {
76+
log.Fatalf("Failed to scan input: %v", err)
77+
}
7578

7679
// Closes the client and flushes the buffer to the Stackdriver Logging
7780
// service.

0 commit comments

Comments
 (0)