Skip to content

Commit

Permalink
Merge branch 'CURA-11364_add_sentry' of github.com:Ultimaker/CuraEngi…
Browse files Browse the repository at this point in the history
…ne into CURA-11364_add_sentry
  • Loading branch information
nallath committed Nov 20, 2023
2 parents 5e22539 + 67b924d commit 10d66c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
#include <sys/resource.h> //For setpriority.
#endif

#include <spdlog/spdlog.h>
#include <sentry.h>

#include <spdlog/spdlog.h>
#include <string>
#include "Application.h"

Expand Down Expand Up @@ -39,7 +40,7 @@ int main(int argc, char** argv)
std::cerr << std::boolalpha;

// Setup sentry error handling.
sentry_options_t *options = sentry_options_new();
sentry_options_t* options = sentry_options_new();
// TODO: Right now we just hardcode the key. We should probably get that from some kind of secret for release builds
sentry_options_set_dsn(options, "https://[email protected]/4506257745510401");
// This is also the default-path. For further information and recommendations:
Expand Down

0 comments on commit 10d66c5

Please sign in to comment.