Enable error tracking on sendFollowUser (#17328)

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
Takuya N 2022-04-19 11:13:31 +09:00 committed by GitHub
parent da06427cb6
commit 3eee116104
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,8 +20,6 @@ export function sendFollowUser(user, successCb) {
// json is followed or unfollowed
})
.catch((error) => {
// TODO: Add client-side error tracking. See https://github.com/thepracticaldev/dev.to/issues/2501
// for the discussion.
console.log(error); // eslint-disable-line no-console
Honeybadger.notify(error);
});
}