Bug #556

Unintuitive error message

Added by Anonymous over 12 years ago. Updated over 12 years ago.

Status:ResolvedStart date:09/08/2011
Priority:NormalDue date:
Assignee:J. Wienke% Done:

100%

Category:Logging
Target version:0.5

Description

If two different versions of RSC are used/linked this produces an error during runtime with the error message:

terminate called after throwing an instance of 'std::invalid_argument'
what(): There already is a registree with key 'ConsoleLoggingSystem'.
Aborted

It would be helpful, if this could generate a more meaningful error message, indicating the above reason.

Associated revisions

Revision a75f22f7
Added by J. Wienke over 12 years ago

raise a more special warning in cases where rsc could be double-linked in different versions.

fixes #556

History

#1 Updated by J. Wienke over 12 years ago

Hm, sounds like a very rare error case to optimize. ;) Double-linking is always something really bad and this is by accicdent the first thing you notice. Be happy that it's not much worse or unpredictable. ;)

#2 Updated by J. Wienke over 12 years ago

  • Status changed from New to In Progress
  • Target version set to 0.5

#3 Updated by J. Wienke over 12 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset r352.

Also available in: Atom PDF