Skip to content

Commit

Permalink
Update cube_tc.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
frisso authored Aug 22, 2019
1 parent a07199b commit ee90d0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/polycubed/src/cube_tc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ void CubeTC::send_packet_ns_span_mode(void *cb_cookie, void *data, int data_size

} catch(const std::exception &e) {
// TODO: ignore the problem, what else can we do?

// This function (i.e., send_packet_ns_span_mode() ) is static, so we cannot use
// standard logging primitive (i.e., logger->warn() ) here.
spdlog::get("polycubed")->warn("Error processing packet in span mode - event: {}", e.what());
}
}
Expand Down

0 comments on commit ee90d0d

Please sign in to comment.