Changeset 56b6992


Ignore:
Timestamp:
May 7, 2014 3:58:24 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
1cdcf1c
Parents:
2beaea4
Message:

i2psnark: Add log message if directory does not exist (ticket #1263)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/web/BasicServlet.java

    r2beaea4 r56b6992  
    124124     */
    125125    protected void setResourceBase(File base) throws UnavailableException {
    126         if (!base.isDirectory())
     126        if (!base.isDirectory()) {
     127            _log.log(Log.CRIT, "Configured i2psnark directory " + base + " does not exist");
    127128            throw new UnavailableException("Resource base does not exist: " + base);
     129        }
    128130        _resourceBase = base;
    129131        if (_log.shouldLog(Log.INFO))
Note: See TracChangeset for help on using the changeset viewer.