Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 46bc928e authored by snuverink_j's avatar snuverink_j
Browse files

trim coil type unknown: exception instead of warning

parent 9b65895d
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,8 @@ void OpalTrimCoil::initOpalTrimCoil() {
double slope = Attributes::getReal(itsAttr[SLPTC]);
trimcoil_m = std::unique_ptr<TrimCoilMirrored> (new TrimCoilMirrored(bmax, rmin, rmax, slope));
} else {
WARNMSG(type << " is not a valid trim coil type" << endl);
throw OpalException("OpalTrimCoil::initOpalTrimCoil",
type + " is not a valid trim coil type");
}
*gmsg << level3 << *this << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment