Opened 9 years ago

Closed 6 years ago

#1019 closed defect (wontfix)

catch specific exception types for logging

Reported by: jreed Owned by:
Priority: medium Milestone: Remaining BIND10 tickets
Component: Unclassified Version: bind10-old
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: Low
Sub-Project: DNS Feature Depending on Ticket:
Estimated Difficulty: 0.0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

Continuation from closed #1018...

We decided long ago to have unique log IDs. This log ID with

"RESOLVER_FAILED", "resolver failed, reason: %1"

generated by src/bin/resolver/main.cc

} catch (const std::exception& ex) {
        LOG_FATAL(resolver_logger, RESOLVER_FAILED).arg(ex.what());

is not unique.

From jabber: (11:03:21) jelte: but i agree that the way we handle those catchalls leaves room for improvement, we should catch more specific exception types if we know they can happen

Subtickets

Change History (9)

comment:1 Changed 9 years ago by shane

  • Milestone New Tasks deleted

comment:2 Changed 9 years ago by shane

  • Defect Severity changed from N/A to Low

comment:3 Changed 9 years ago by jinmei

I believe we can close this. To confirm that I'm pushing it to the next sprint proposal.

comment:4 Changed 9 years ago by jinmei

  • Milestone set to Next-Sprint-Proposed

comment:5 follow-up: Changed 9 years ago by jreed

If this can be closed, please point to the discussion or add it here. I am missing something here.

comment:6 in reply to: ↑ 5 Changed 9 years ago by jinmei

Replying to jreed:

If this can be closed, please point to the discussion or add it here. I am missing something here.

Hmm, I now don't understand why I thought it could be closed when I
made that comment:-) Maybe I was confused with a different ticket.

I'll move this one to the backlog.

comment:7 Changed 9 years ago by jinmei

  • Milestone changed from Next-Sprint-Proposed to Year 3 Task Backlog

comment:8 Changed 6 years ago by tomek

  • Milestone set to Remaining BIND10 tickets

comment:9 Changed 6 years ago by tomek

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version set to old-bind10

This issue is related to bind10 code that is no longer part of Kea.

If you are interested in BIND10/Bundy framework or its DNS components,
please check http://bundy-dns.de.

Closing ticket.

Note: See TracTickets for help on using tickets.