logging
This commit is contained in:
parent
638dd3e67c
commit
2e03c1449c
|
@ -35,6 +35,8 @@ var File = myfile{}
|
||||||
func (*myfile) GetFileSize(path string) int64 {
|
func (*myfile) GetFileSize(path string) int64 {
|
||||||
fi, err := os.Stat(path)
|
fi, err := os.Stat(path)
|
||||||
if nil != err {
|
if nil != err {
|
||||||
|
fileLogger.Error(err)
|
||||||
|
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue