diff options
author | Xavier Ducrohet <xav@android.com> | 2011-01-11 13:12:23 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2011-01-11 13:12:23 -0800 |
commit | 64cc0e21c489faa2fa03187674c80a006481ea1e (patch) | |
tree | f1934b136001bd08c51aea76721ae75877373cf7 /ide_common/src/com/android/ide/common | |
parent | 9e7b1152a98eb77eeb96cecbfd0ea3e3abe7a58c (diff) | |
download | sdk-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.java | 2 |
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) { |