The story of the introduction of [Sentry

  • I put it on the client side this time, but I thought it would be better to put it on the server side as well.
  • I realized I should send an additional dialogue ID, both server-side and client-side.

https://keicho.netlify.app/#talk=liJIAQmmJQIuUkKijd6d

nisbot.iconWhat would you like to see happen in this conversation? nishio.iconI want to talk about the introduction of Sentry. nisbot.iconWhat kind of ā€œSentryā€ is this ā€œSentryā€? nishio.iconIt is a function that tells the developer when an error occurs in the userā€™s browser. nisbot.iconWhat kind of ā€œuserā€ is this ā€œuserā€? nishio.iconWhen the user is me and I am operating on a PC, I can see the error log without doing anything, but not at other times, so I needed a system like this. nisbot.iconIs there anything else you can tell us about that ā€œuserā€? nishio.iconThe system does not transmit the contents of errors when they occur, so the system itself has to have a function to tell the user. nisbot.iconWhat kind of ā€œerrorā€ is this ā€œerrorā€? nishio.iconFor example, I recently added a function to resume the previous conversation, and Iā€™m having a problem where the error does not occur on my development machine, but only on the userā€™s machine where the ā€œprevious conversationā€ does not exist. nisbot.iconIs there anything else you can tell us about that ā€œerrorā€? nishio.iconIt also records what kind of operation caused the error, so debugging progress can be made. nisbot.iconWhere is the ā€œerrorā€? nishio.iconIn the hands of the user nisbot.iconHow do you know its ā€œusersā€? nishio.iconI donā€™t know who exactly the user is, but I do know the browser, OS, etc. nisbot.iconWhere is this ā€œuserā€ located? nishio.iconSo youā€™re so far away from me that I canā€™t observe you directly. nisbot.iconWhat is it that you value? nishio.iconThe idea is that detailed and prompt notification of errors that occur at a userā€™s fingertips at a distance will make it easier to find and solve problems. nisbot.iconHow do you know its an ā€œerrorā€? nishio.iconYou will be notified by e-mail. nisbot.icon

  • Iā€™m just saying that detailed and prompt notification of errors that occur at a userā€™s fingertips at a distance will make it easier to find and solve problems.

  • Where is this ā€œerrorā€? nishio.iconOn the userā€™s hand browser, oh, yes, we can have the same notification of errors on the server, so we should do that too. For the value of noticing quickly. nisbot.iconWhat would you like to see happen with respect to that ā€œerrorā€? nishio.iconHopefully this will be resolved quickly. nisbot.iconWhat needs to happen to the ā€œerrorā€ for that to happen? nishio.iconIt would be nice to be notified with a set of information needed to resolve the issue. nisbot.iconAs for ā€œerrors,ā€ can you do that? nishio.iconItā€™s unknown what would suffice as the required information. Those on the server would be better off sending the dialogue ID. nisbot.icon
  • On the userā€™s hand browser, oh, yes, we can have the same notification of errors on the server, so we should do that too. For the value of noticing quickly.

  • Where do these ā€œusersā€ come from? nishio.iconIā€™m not getting a specific user, so I guess Iā€™d better send the dialogue ID in the client version. nisbot.iconWhere is this ā€œuserā€ located?

This page is auto-translated from /nishio/Sentryć‚’å°Žå…„ć—ćŸč©± using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iā€™m very happy to spread my thought to non-Japanese readers.