소스 검색

Make error messages when updating more useful.

Fixes issue 2084, fixes issue 2082 in a not-very-fixing sort of way
tags/0.6.3m1rc1
Chris Smith 15 년 전
부모
커밋
63b45dc2a9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      src/com/dmdirc/updater/Update.java

+ 2
- 2
src/com/dmdirc/updater/Update.java 파일 보기

@@ -166,8 +166,8 @@ public final class Update implements DownloadListener {
166 166
                 } catch (Throwable ex) {
167 167
                     setStatus(UpdateStatus.ERROR);
168 168
 
169
-                    Logger.appError(ErrorLevel.MEDIUM,
170
-                            "Error when updating component " + component, ex);
169
+                    Logger.appError(ErrorLevel.MEDIUM, "Error when updating component "
170
+                            + component.getName(), ex);
171 171
 
172 172
                     return;
173 173
                 }

Loading…
취소
저장