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:
ab54fa4
)
JAL-629 Catch a NPE, fix a test
author
Ben Soares
<b.soares@dundee.ac.uk>
Wed, 10 May 2023 12:31:16 +0000
(13:31 +0100)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Wed, 10 May 2023 12:31:16 +0000
(13:31 +0100)
src/jalview/bin/Console.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Console.java
b/src/jalview/bin/Console.java
index
ab9ff97
..
a382ac7
100644
(file)
--- a/
src/jalview/bin/Console.java
+++ b/
src/jalview/bin/Console.java
@@
-242,7
+242,8
@@
public class Console
if (!Platform.isJS())
{
- if (!Jalview.getInstance().quiet())
+ if (Jalview.getInstance() == null || (Jalview.getInstance() != null
+ && !Jalview.getInstance().quiet()))
{
System.err.println(
"Setting initial log level to " + logLevel.name());