aboutsummaryrefslogtreecommitdiffstats
path: root/ide_common/src/com/android/ide/common
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-01-11 13:12:23 -0800
committerXavier Ducrohet <xav@android.com>2011-01-11 13:12:23 -0800
commit64cc0e21c489faa2fa03187674c80a006481ea1e (patch)
treef1934b136001bd08c51aea76721ae75877373cf7 /ide_common/src/com/android/ide/common
parent9e7b1152a98eb77eeb96cecbfd0ea3e3abe7a58c (diff)
downloadsdk-64cc0e21c489faa2fa03187674c80a006481ea1e.zip
sdk-64cc0e21c489faa2fa03187674c80a006481ea1e.tar.gz
sdk-64cc0e21c489faa2fa03187674c80a006481ea1e.tar.bz2
Remove error(tag, throwable) from LayoutLog.
We should never only log an exception with no associated message. Also, I've found several case in the layoutlib where there is a message in place of the tag. This new API makes it more clear that there's both a tag and a message since both are required for error() Change-Id: I6d5f45c07b1cb8df96311d930170526bb729fae6
Diffstat (limited to 'ide_common/src/com/android/ide/common')
-rw-r--r--ide_common/src/com/android/ide/common/rendering/LayoutLibrary.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide_common/src/com/android/ide/common/rendering/LayoutLibrary.java b/ide_common/src/com/android/ide/common/rendering/LayoutLibrary.java
index a961135..e1ce53b 100644
--- a/ide_common/src/com/android/ide/common/rendering/LayoutLibrary.java
+++ b/ide_common/src/com/android/ide/common/rendering/LayoutLibrary.java
@@ -350,7 +350,7 @@ public class LayoutLibrary {
}
public void error(Throwable t) {
- log.error(null, t);
+ log.error(null, "error!", t);
}
public void error(String message) {