Browse Source

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 years ago
parent
commit
63b45dc2a9
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/com/dmdirc/updater/Update.java

+ 2
- 2
src/com/dmdirc/updater/Update.java View File

@@ -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…
Cancel
Save