Skip to content

Commit

Permalink
Update Sentry tag formatting in ArcusCommunication
Browse files Browse the repository at this point in the history
Changed the way plugin information is formatted when setting tags in Sentry in ArcusCommunication.cpp. The plugin name now precedes 'version' to make identifying plugins in Sentry easier.

Contribute to CURA-11482
  • Loading branch information
jellespijker committed Dec 17, 2023
1 parent 0c3339a commit c97b060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/communication/ArcusCommunication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ void ArcusCommunication::sliceNext()
const auto slot_id = static_cast<plugins::v0::SlotID>(plugin.id());
slots::instance().connect(slot_id, plugin.plugin_name(), plugin.plugin_version(), utils::createChannel({ plugin.address(), plugin.port() }));
#ifdef SENTRY_URL
sentry_set_tag(fmt::format("engine_plugin.{}", plugin.plugin_name()).c_str(), plugin.plugin_version().c_str());
sentry_set_tag(fmt::format("plugin_{}.version", plugin.plugin_name()).c_str(), plugin.plugin_version().c_str());
#endif
}
#endif // ENABLE_PLUGINS
Expand Down

0 comments on commit c97b060

Please sign in to comment.