Skip to content

Commit d6da27e

Browse files
committed
DUNE/Hardware/BasicDeviceDriver: BDD now throws if Activation Time is not set.
1 parent 7682189 commit d6da27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DUNE/Hardware/BasicDeviceDriver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ namespace DUNE
8383
setEntityState(IMC::EntityState::ESTA_NORMAL, Status::CODE_IDLE);
8484

8585
if (getActivationTime() == 0.0)
86-
war("Activation Time set to 0.0! Please set a positive time.");
86+
throw std::runtime_error("Activation Time set to 0.0! Please set a positive time.");
8787
}
8888

8989
IO::Handle *

0 commit comments

Comments
 (0)