Mercurial Hosting > luan
diff src/luan/modules/url/LuanUrl.java @ 1349:0cceff521abb
IO error handling
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 27 Feb 2019 12:30:46 -0700 |
parents | e0cf0d108a77 |
children | 2449ca95dc1e |
line wrap: on
line diff
--- a/src/luan/modules/url/LuanUrl.java Mon Feb 25 13:34:56 2019 -0700 +++ b/src/luan/modules/url/LuanUrl.java Wed Feb 27 12:30:46 2019 -0700 @@ -274,8 +274,8 @@ { try { return httpCon.getInputStream(); - } catch(FileNotFoundException e) { - throw e; +// } catch(FileNotFoundException e) { +// throw e; } catch(IOException e) { int responseCode = httpCon.getResponseCode(); if( responseCode == 401 && authUsername != null && authorization==null ) {