Changeset 16392 in josm for trunk


Ignore:
Timestamp:
2020-05-05T08:59:02+02:00 (4 years ago)
Author:
simon04
Message:

see #19173, see #19113 - JCSCacheManager: log all initialization errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/cache/JCSCacheManager.java

    r16335 r16392  
    102102                }
    103103            });
    104         } catch (SecurityException e) {
     104        } catch (Exception e) {
    105105            Logging.log(Logging.LEVEL_ERROR, "Unable to configure JCS logs", e);
    106106        }
     
    132132                }
    133133            }
    134         } catch (SecurityException e) {
     134        } catch (Exception e) {
    135135            Logging.log(Logging.LEVEL_WARN, "Unable to configure disk cache. Will not use it", e);
    136136        }
     
    153153        try {
    154154            JCS.setConfigProperties(props);
    155         } catch (SecurityException e) {
     155        } catch (Exception e) {
    156156            Logging.log(Logging.LEVEL_WARN, "Unable to initialize JCS", e);
    157157        }
Note: See TracChangeset for help on using the changeset viewer.