-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Description
Question:
Is there a reason we are logging here and other places, instead of throwing an exception ?
I'd be intersted in suppressing logs from InfluxDb but i still want to be able to know what kind of connection error I get.
Is it too expensive to throw exceptions?
Best regards
@Nullable
public Ready ready() {
Call<Ready> call = this.readyService.getReady((String)null);
try {
return (Ready)this.execute(call);
} catch (InfluxException e) {
LOG.log(Level.WARNING, "The exception occurs during check instance readiness", e);
return null;
}
}
Metadata
Metadata
Assignees
Labels
No labels