Closed imjoehaines closed 3 years ago
Adds a set_user method, with the same API as other notifiers e.g. @bugsnag/js:
set_user
@bugsnag/js
report.set_user("123", "abc.xyz@example.com", "abc xyz") # { id: "123", email: "abc.xyz@example.com", name: "abc xyz" } # passing 'nil' removes that field report.set_user("123", nil, "abc xyz") # { id: "123", name: "abc xyz" } # passing nothing removes all user data report.set_user # {}
Goal
Adds a
set_user
method, with the same API as other notifiers e.g.@bugsnag/js
: