projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d8e23c
)
Do not print warning for FILE_ERROR_NOT_FOUND
author
Cheng Zhao
<zcbenz@gmail.com>
Sat, 30 Jan 2016 12:48:07 +0000
(20:48 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Sat, 30 Jan 2016 12:49:35 +0000
(20:49 +0800)
Close #4282.
atom/common/asar/archive.cc
patch
|
blob
|
history
diff --git
a/atom/common/asar/archive.cc
b/atom/common/asar/archive.cc
index
37ff0f4
..
3545141
100644
(file)
--- a/
atom/common/asar/archive.cc
+++ b/
atom/common/asar/archive.cc
@@
-140,7
+140,10
@@
Archive::~Archive() {
bool Archive::Init() {
if (!file_.IsValid()) {
- LOG(ERROR) << base::File::ErrorToString(file_.error_details());
+ if (file_.error_details() != base::File::FILE_ERROR_NOT_FOUND) {
+ LOG(WARNING) << "Opening " << path_.value()
+ << ": " << base::File::ErrorToString(file_.error_details());
+ }
return false;
}