AI Coding · Easy
The assistant added error handling to a payment notifier. What's wrong with it?
AI CodingCode ReviewSenior
java
public void notifyPaid(Order order) {
try {
webhookClient.post(order.callbackUrl(), toPayload(order));
} catch (Exception e) {
e.printStackTrace();
}
}