Ignore:
Timestamp:
2012-11-17T12:41:36+01:00 (12 years ago)
Author:
Don-vip
Message:

fix #8202 - Robustness in plugin description parsing

File:
1 edited

Legend:

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

    r5121 r5583  
    181181            s = attr.getValue("Plugin-Description");
    182182            if(s != null) {
    183                 s = tr(s);
     183                try {
     184                    s = tr(s);
     185                } catch (IllegalArgumentException e) {
     186                    System.out.println(tr("Invalid plugin description ''{0}'' in plugin {1}", s, name));
     187                }
    184188            }
    185189        }
Note: See TracChangeset for help on using the changeset viewer.