Changeset d82499f for core


Ignore:
Timestamp:
Jan 6, 2018 10:31:41 AM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
b8f17c7
Parents:
62210c8
Message:

i2ptunnel, eepget: Better error message on invalid URLs (ticket #2130)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/EepGet.java

    r62210c8 rd82499f  
    328328            nameURL = new URI(url);
    329329        } catch (URISyntaxException e) {
     330            String msg = e.getLocalizedMessage();
     331            if (msg != null)
     332                System.err.println(msg);
    330333            System.err.println("Please enter a properly formed URL.");
    331334            System.exit(1);
Note: See TracChangeset for help on using the changeset viewer.