Skip to content

Commit

Permalink
Changed log warn to bomb out.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAZiegler committed Aug 13, 2024
1 parent 0553c66 commit 2de480f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/metavision_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

#include "metavision_driver/metavision_wrapper.h"

#include "metavision_driver/logging.h"

#ifdef USING_METAVISION_3
#include <metavision/hal/facilities/i_device_control.h>
#include <metavision/hal/facilities/i_erc.h>
Expand Down Expand Up @@ -449,7 +451,7 @@ void MetavisionWrapper::activateTrailFilter()

const auto it = trailFilterMap.find(trailFilter_.type);
if (it == trailFilterMap.end()) {
LOG_WARN_NAMED("unknown trail filter type " << trailFilter_.type);
BOMB_OUT_CERR("unknown trail filter type " << trailFilter_.type);
}

// Set filter type
Expand Down

0 comments on commit 2de480f

Please sign in to comment.