tommiionfire / proxy-vole

Automatically exported from code.google.com/p/proxy-vole
0 stars 0 forks source link

earlier detecting some/expected problems when using PAC files (not connected to corparate network) #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. setup a proxy in IE, that doesn't exist
2. use proxy vole
3.

What is the expected output? What do you see instead?
- Less LOG output

What version of the product are you using? On what operating system?
- Windows, (latest release) 2012-12-03

Please provide any additional information below.

- If you have a proxy, which I normally have when connected to the Corporate 
Network
- proxy-vole writes a lot of output
- So the process can be "aborted" earlier

For example if you get: 
- UnknownHostException, get out "early", and use fallback
- If the content of the PAC file is empty, get out "early", and use fallback

I know this is a small enhancement, but I'm always "annoyed" by "unnecessary" 
messages in the errorlog file...

"unnecessary" messages, will lead to "cry wolf", and at the end the missing 
*real* error messages.

Here is the log output...
-----------------------------
2013-02-07 23:54:04,111 - INFO  - checkForUpdates           - CheckForUpdates   
             - com.btr.proxy.selector.pac.JavaxPacScriptParser: JS evaluation 
error. Caught: javax.script.ScriptException: 
sun.org.mozilla.javascript.internal.EvaluatorException: syntax error (<Unknown 
source>#1) in <Unknown source> at line number 1
2013-02-07 23:54:04,111 - INFO  - checkForUpdates           - CheckForUpdates   
             - com.btr.proxy.selector.pac.PacProxySelector: PAC resolving 
error. Caught: com.btr.proxy.selector.pac.ProxyEvaluationException: Error while 
executing PAC script: sun.org.mozilla.javascript.internal.EvaluatorException: 
syntax error (<Unknown source>#1) in <Unknown source> at line number 1
2013-02-07 23:54:04,174 - INFO  - checkForUpdates           - CheckForUpdates   
             - com.btr.proxy.selector.pac.JavaxPacScriptParser: JS evaluation 
error. Caught: javax.script.ScriptException: 
sun.org.mozilla.javascript.internal.EvaluatorException: syntax error (<Unknown 
source>#1) in <Unknown source> at line number 1
2013-02-07 23:54:04,174 - INFO  - checkForUpdates           - CheckForUpdates   
             - com.btr.proxy.selector.pac.PacProxySelector: PAC resolving 
error. Caught: com.btr.proxy.selector.pac.ProxyEvaluationException: Error while 
executing PAC script: sun.org.mozilla.javascript.internal.EvaluatorException: 
syntax error (<Unknown source>#1) in <Unknown source> at line number 1
2013-02-07 23:54:04,267 - WARN  - checkForUpdates           - CheckForUpdates   
             - When checking for new version, found an 'ERROR:' response row, 
which looked like 'ERROR: ---WARNING--- THE USER 'GORANS' SHOULD BE LOG 
DISABLED, HOPEFULLY THIS IS A TEST.'.
2013-02-07 23:54:04,267 - INFO  - checkForUpdates           - CheckForUpdates   
             - You have got the latest release of 'AseTune'.
-----------------------------

Original issue reported on code.google.com by goran.sc...@gmail.com on 7 Feb 2013 at 11:25

GoogleCodeExporter commented 9 years ago
This issue is fixed in revision 98 and will be included in the next release.

Original comment by rosstaus...@googlemail.com on 3 Dec 2013 at 11:48