diff options
author | xengineering <me@xengineering.eu> | 2024-05-30 17:10:08 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-05-30 17:10:08 +0200 |
commit | 034c8209f6e6f17bf5b6f265e2a3ef58f05b2c80 (patch) | |
tree | a55fe5012f78f6725ef15b2a8afe8b9e7b677d94 /software/main.go | |
parent | 96d159114af675d55fe0d7c0f22a69d65e9563fc (diff) | |
download | iot-core-034c8209f6e6f17bf5b6f265e2a3ef58f05b2c80.tar iot-core-034c8209f6e6f17bf5b6f265e2a3ef58f05b2c80.tar.zst iot-core-034c8209f6e6f17bf5b6f265e2a3ef58f05b2c80.zip |
software: Switch back from .Log() to .Cat()
Logging the bytes is not really readable because of time stamp prefixes.
Diffstat (limited to 'software/main.go')
-rw-r--r-- | software/main.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/software/main.go b/software/main.go index d0d3a8c..d0ca2cd 100644 --- a/software/main.go +++ b/software/main.go @@ -12,5 +12,8 @@ func main() { log.Fatal(err) } - iface.Log() + err = iface.Cat() + if err != nil { + log.Fatal(err) + } } |