Commit af82cbf0 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

log information about fatal failures

parent f816c344
Pipeline #46408 passed with stage
in 17 minutes and 20 seconds
...@@ -455,9 +455,6 @@ public class ModelData implements Serializable { ...@@ -455,9 +455,6 @@ public class ModelData implements Serializable {
@XmlTransient @XmlTransient
@JsonIgnore @JsonIgnore
public Model getModel() { public Model getModel() {
if (model == null) {
logger.warn("Model not set in model data.");
}
return model; return model;
} }
......
...@@ -420,6 +420,7 @@ public class ProjectService implements IProjectService { ...@@ -420,6 +420,7 @@ public class ProjectService implements IProjectService {
MinervaLoggerAppender.unregisterLogEventStorage(appender); MinervaLoggerAppender.unregisterLogEventStorage(appender);
} }
} catch (Throwable t) { } catch (Throwable t) {
logger.error(t, t);
problems.add(t); problems.add(t);
waitForInitialData.countDown(); waitForInitialData.countDown();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment