summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Trim/Trim.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Trim/Trim.py')
-rw-r--r--BaseTools/Source/Python/Trim/Trim.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/Trim/Trim.py b/BaseTools/Source/Python/Trim/Trim.py
index c479f7d2b2..416935df5e 100644
--- a/BaseTools/Source/Python/Trim/Trim.py
+++ b/BaseTools/Source/Python/Trim/Trim.py
@@ -281,10 +281,10 @@ def DoInclude(Source, Indent='', IncludePathList=[], LocalSearchPath=None, Inclu
F = File.readlines()
break
else:
- EdkLogger.warn("Trim", "Failed to find include file %s" % Source)
+ EdkLogger.error("Trim", "Failed to find include file %s" % Source)
return []
except:
- EdkLogger.warn("Trim", FILE_OPEN_FAILURE, ExtraData=Source)
+ EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=Source)
return []