Print error messagge 'unable to open database' to stderr

Fixes #610
This commit is contained in:
Andrey Smirnov
2017-08-09 00:01:51 +03:00
parent a626e4693b
commit e05768737f
3 changed files with 16 additions and 1 deletions
+2
View File
@@ -109,6 +109,8 @@ type Progress interface {
Printf(msg string, a ...interface{})
// ColoredPrintf does printf in colored way + newline
ColoredPrintf(msg string, a ...interface{})
// PrintfStdErr does printf but in safe manner to stderr
PrintfStdErr(msg string, a ...interface{})
}
// Downloader is parallel HTTP fetcher