Commit 8c7355fc authored by Liang Ding's avatar Liang Ding

c

parent 44ac72ef
......@@ -170,7 +170,6 @@ public final class ChanceProcessor {
* {
* "sc": boolean, // if has a chance, the value will be true
* "broadCastChanceExpirationTime": long, // if has a chance, the value will larger then 0L
* "msg": "" // optional
* }
* </pre>
* </p>
......@@ -219,14 +218,11 @@ public final class ChanceProcessor {
ret.put(Option.ID_C_BROADCAST_CHANCE_EXPIRATION_TIME, option.getLong(Option.OPTION_VALUE));
ret.put(Keys.STATUS_CODE, true);
} catch (final Exception e) {
final String msg = "Broadcast plugin exception";
LOGGER.log(Level.SEVERE, msg, e);
LOGGER.log(Level.SEVERE, "Broadcast plugin exception", e);
final JSONObject jsonObject = QueryResults.defaultResult();
renderer.setJSONObject(jsonObject);
jsonObject.put(Keys.MSG, msg);
}
}
......
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