Ignore:
Timestamp:
2013-10-07T13:48:08+02:00 (10 years ago)
Author:
Don-vip
Message:

cosmetics in error reporting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java

    r6282 r6313  
    687687                return null;
    688688            } catch(InterruptedException e) {
    689                 e.printStackTrace();
     689                Main.warn("InterruptedException in "+PluginHandler.class.getSimpleName()+" while loading locally available plugin information");
    690690                return null;
    691691            }
     
    858858                plugins = buildListOfPluginsToLoad(parent,monitor.createSubTaskMonitor(1, false));
    859859            } catch (ExecutionException e) {
    860                 Main.warn(tr("Failed to download plugin information list"));
     860                Main.warn(tr("Failed to download plugin information list")+": ExecutionException");
    861861                e.printStackTrace();
    862862                // don't abort in case of error, continue with downloading plugins below
    863863            } catch (InterruptedException e) {
    864                 Main.warn(tr("Failed to download plugin information list"));
    865                 e.printStackTrace();
     864                Main.warn(tr("Failed to download plugin information list")+": InterruptedException");
    866865                // don't abort in case of error, continue with downloading plugins below
    867866            }
     
    911910                    return plugins;
    912911                } catch(InterruptedException e) {
    913                     e.printStackTrace();
     912                    Main.warn("InterruptedException in "+PluginHandler.class.getSimpleName()+" while updating plugins");
    914913                    alertFailedPluginUpdate(parent, pluginsToUpdate);
    915914                    return plugins;
Note: See TracChangeset for help on using the changeset viewer.