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

c

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