Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DQMStore::getElement whichs throws an exception instead of a null…
…ptr. Half of DQM software does not check for nullptrs when retrieving histograms. This usually causes a segfault and a few minute wait for gdb to produce the stacktrace. Crashing the framework with an out-of-bounds exception is better and more clean. Also fixes DQM/SiPixelMonitorClient which would segfault online on every empty run. It still crashes, but in a 'nicer' way.
- Loading branch information
Dmitrijus Bugelskis
committed
May 9, 2016
1 parent
1c2df12
commit eadc71c
Showing
3 changed files
with
42 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters