git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fb90be2
)
JAL-4195 JAL-1069 JAL-4160 errors in Cache should go to Console.stderr
author
James Procter
<j.procter@dundee.ac.uk>
Wed, 20 Sep 2023 15:42:28 +0000
(16:42 +0100)
committer
James Procter
<j.procter@dundee.ac.uk>
Wed, 20 Sep 2023 15:42:28 +0000
(16:42 +0100)
src/jalview/bin/Cache.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Cache.java
b/src/jalview/bin/Cache.java
index
9266d2a
..
1abb171
100755
(executable)
--- a/
src/jalview/bin/Cache.java
+++ b/
src/jalview/bin/Cache.java
@@
-589,7
+589,7
@@
public class Cache
{
if (!Jalview.quiet())
{
{
if (!Jalview.quiet())
{
- jalview.bin.Console.outPrintln(
+ jalview.bin.Console.errPrintln(
"Non-fatal exception when checking version at "
+ remoteBuildPropertiesUrl + ":");
jalview.bin.Console.printStackTrace(ex);
"Non-fatal exception when checking version at "
+ remoteBuildPropertiesUrl + ":");
jalview.bin.Console.printStackTrace(ex);
@@
-792,7
+792,7
@@
public class Cache
} catch (NumberFormatException e)
{
if (!Jalview.quiet())
} catch (NumberFormatException e)
{
if (!Jalview.quiet())
- jalview.bin.Console.outPrintln("Error parsing int property '"
+ jalview.bin.Console.errPrintln("Error parsing int property '"
+ property + "' with value '" + string + "'");
}
}
+ property + "' with value '" + string + "'");
}
}
@@
-811,7
+811,7
@@
public class Cache
} catch (NumberFormatException e)
{
if (!Jalview.quiet())
} catch (NumberFormatException e)
{
if (!Jalview.quiet())
- jalview.bin.Console.outPrintln("Error parsing float property '"
+ jalview.bin.Console.errPrintln("Error parsing float property '"
+ property + "' with value '" + string + "'");
}
}
+ property + "' with value '" + string + "'");
}
}
@@
-862,7
+862,7
@@
public class Cache
} catch (Exception ex)
{
if (!Jalview.quiet())
} catch (Exception ex)
{
if (!Jalview.quiet())
- jalview.bin.Console.outPrintln(
+ jalview.bin.Console.errPrintln(
"Error setting property: " + key + " " + obj + "\n" + ex);
}
return oldValue;
"Error setting property: " + key + " " + obj + "\n" + ex);
}
return oldValue;
@@
-894,7
+894,7
@@
public class Cache
} catch (Exception ex)
{
if (!Jalview.quiet())
} catch (Exception ex)
{
if (!Jalview.quiet())
- jalview.bin.Console.outPrintln("Error saving properties: " + ex);
+ jalview.bin.Console.errPrintln("Error saving properties: " + ex);
}
}
}
}
}
}