Optimize web thread pool notification exception

pull/1165/head
chen.ma 1 year ago
parent 7b38f3b1b0
commit 0da5599b1d

@ -94,7 +94,7 @@ public class Hippo4jBaseSendMessageService implements Hippo4jSendMessageService,
} }
messageHandler.sendChangeMessage(each, changeParameterNotifyRequest); messageHandler.sendChangeMessage(each, changeParameterNotifyRequest);
} catch (Exception ex) { } catch (Exception ex) {
log.warn("Failed to send thread pool change notification. key: [{}]", threadPoolId, ex); log.error("Failed to send thread pool change notification. key: [{}]", threadPoolId, ex);
} }
}); });
} }
@ -116,8 +116,10 @@ public class Hippo4jBaseSendMessageService implements Hippo4jSendMessageService,
return; return;
} }
messageHandler.sendWebChangeMessage(each, webChangeParameterNotifyRequest); messageHandler.sendWebChangeMessage(each, webChangeParameterNotifyRequest);
} catch (IllegalAccessException ex) {
log.warn("Failed to send thread pool change notification. key: [{}]", threadPoolId);
} catch (Exception ex) { } catch (Exception ex) {
log.warn("Failed to send thread pool change notification. key: [{}]", threadPoolId, ex); log.error("Failed to send thread pool change notification. key: [{}]", threadPoolId, ex);
} }
}); });
} }

Loading…
Cancel
Save