Skip to content

Commit

Permalink
log added
Browse files Browse the repository at this point in the history
  • Loading branch information
remibettan committed Jan 13, 2025
1 parent a4947dd commit 667e737
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/realsense-viewer/realsense-viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ bool refresh_devices(std::mutex& m,
}
catch (const std::exception& e)
{
log(RS2_LOG_SEVERITY_ERROR, "Exception raised on device_model creation");
auto dev_name_itr = std::find(begin(device_names), end(device_names), get_device_name(dev));
if (dev_name_itr != end(device_names))
{
Expand Down

0 comments on commit 667e737

Please sign in to comment.