Merge pull request #3209 from influxdb/parse_errors_stderr

Dump run errors to stderr
pull/3217/head
Philip O'Toole 2015-07-01 17:05:24 -04:00
commit 569d23c269
2 changed files with 2 additions and 1 deletions

View File

@ -56,6 +56,7 @@
- [#3183](https://github.com/influxdb/influxdb/issues/3183): using line protocol measurement names cannot contain commas
- [#3193](https://github.com/influxdb/influxdb/pull/3193): Fix panic for SHOW STATS and in collectd
- [#3102](https://github.com/influxdb/influxdb/issues/3102): Add authentication cache
- [#3209](https://github.com/influxdb/influxdb/pull/3209): Dump Run() errors to stderr
## v0.9.0 [2015-06-11]

View File

@ -33,7 +33,7 @@ func main() {
m := NewMain()
if err := m.Run(os.Args[1:]...); err != nil {
fmt.Println(err)
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}