Ver código fonte

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 anos atrás
pai
commit
63b45dc2a9
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      src/com/dmdirc/updater/Update.java

+ 2
- 2
src/com/dmdirc/updater/Update.java Ver arquivo

166
                 } catch (Throwable ex) {
166
                 } catch (Throwable ex) {
167
                     setStatus(UpdateStatus.ERROR);
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
                     return;
172
                     return;
173
                 }
173
                 }

Carregando…
Cancelar
Salvar