Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AgentConf - Where is my error gone?

AgentConf - Where is my error gone?

9e89b08f84f74dcd6e2e43c96c3f1275?s=128

Bo Vandersteene

February 21, 2019
Tweet

Transcript

  1. Where is my error gone? Bo Vandersteene

  2. @reibo_bo @reibo_bo @bo.vandersteene Software Engineer & Coach

  3. None
  4. An Error

  5. Tests

  6. Tooling

  7. Goals

  8. None
  9. None
  10. None
  11. Error object

  12. None
  13. None
  14. None
  15. None
  16. None
  17. None
  18. None
  19. None
  20. None
  21. None
  22. Stack trace API

  23. None
  24. None
  25. Problems ...

  26. None
  27. Capture the error

  28. None
  29. Big Try Catch

  30. Global

  31. Script Error

  32. None
  33. None
  34. None
  35. The alternative

  36. None
  37. Important The error stack - File - Line number -

    Column number - Error message Browser - User-agent - Version - Location - Headers - ... Actions to the error
  38. Not only errors

  39. None
  40. None
  41. None
  42. None
  43. None
  44. Promises

  45. None
  46. None
  47. None
  48. Only Chrome

  49. None
  50. RxJS

  51. None
  52. None
  53. None
  54. None
  55. Minified

  56. Share the error

  57. None
  58. We received the error !!!

  59. Demo

  60. Google search

  61. Understand

  62. Reproduce

  63. Solve

  64. Create new tests Error handling

  65. Errors

  66. Conclusion Errors are hard Tooling Different browsers Different types As

    important as backend logging
  67. https://github.com/cheeaun/javascript-error-logging

  68. Thank You @reibo_bo @bo.vandersteene https://stackblitz.com/edit/where-is-my-error-gone