Skip to content

Commit

Permalink
send user ip with crash reports (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
summeroff authored Aug 23, 2023
1 parent 24a1a25 commit 6f7dd10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/crash-reporter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ std::string prepare_crash_report(struct _EXCEPTION_POINTERS *ExceptionInfo, std:
json_report << " \"console_args\": \"" << get_command_line() << "\", ";
json_report << " \"current_dir\": \"" << get_current_dir() << "\", ";
json_report << " \"parent_process\": \"" << get_parent_process_path(false) << "\" ";
json_report << " }, ";
json_report << " \"user\": { ";
json_report << " \"ip_address\": \"{{auto}}\", ";
json_report << " } ";
json_report << "}";

Expand Down

0 comments on commit 6f7dd10

Please sign in to comment.