Commit 5e06abe7 authored by mhellka's avatar mhellka
Browse files

Small cleanup

parent a2b0a4ea
Pipeline #119889 passed with stage
in 8 minutes and 29 seconds
......@@ -14,7 +14,7 @@ cdstar:
plugin:
push:
class: PushEventFilter
fail.log: /var/log/cdstar/push-fail.log
fail.log: "${path.var}/push-fail.log"
retry.max: 3
retry.delay: 1000
retry.cooldown: 60000
......
......@@ -86,7 +86,7 @@ public class PushEventFilter extends AbstractEventFilter implements RuntimeListe
log.warn("Fail.log is not empty: {}", logFile);
}
} catch (final IOException e) {
throw new ConfigException(key + ": " + e.getMessage());
throw new ConfigException(key + ": " + e.getMessage(), e);
}
}
......
......@@ -38,9 +38,6 @@ class RabbitMQConnector implements Closeable {
mapper.disable(SerializationFeature.INDENT_OUTPUT);
}
public static final String PROP_BROKER = "broker";
public static final String PROP_EXCHANGE = "exchange";
private volatile boolean closed = false;
private Connection connection;
......
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