Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
AgentConf - Where is my error gone?
Bo Vandersteene
February 21, 2019
Technology
0
48
AgentConf - Where is my error gone?
Bo Vandersteene
February 21, 2019
Tweet
Share
More Decks by Bo Vandersteene
See All by Bo Vandersteene
bovandersteene
0
62
bovandersteene
0
67
bovandersteene
2
600
Other Decks in Technology
See All in Technology
saik1010
0
310
miura55
0
110
yutamakotaro
1
210
sugimomoto
1
380
kraj
0
3.6k
gkzz
0
160
kappa4
4
2.5k
tsugimot
0
120
natsusan
0
200
yamasaki696
0
360
papix
0
230
yaegashi
2
860
Featured
See All Featured
paulrobertlloyd
71
1.4k
smashingmag
229
18k
rasmusluckow
318
18k
reverentgeek
27
1.9k
tammielis
237
23k
holman
288
130k
edds
56
9.3k
tanoku
86
8.5k
lauravandoore
11
1.3k
hursman
106
9.2k
sugarenia
233
840k
jensimmons
207
10k
Transcript
Where is my error gone? Bo Vandersteene
@reibo_bo @reibo_bo @bo.vandersteene Software Engineer & Coach
None
An Error
Tests
Tooling
Goals
None
None
None
Error object
None
None
None
None
None
None
None
None
None
None
Stack trace API
None
None
Problems ...
None
Capture the error
None
Big Try Catch
Global
Script Error
None
None
None
The alternative
None
Important The error stack - File - Line number -
Column number - Error message Browser - User-agent - Version - Location - Headers - ... Actions to the error
Not only errors
None
None
None
None
None
Promises
None
None
None
Only Chrome
None
RxJS
None
None
None
None
Minified
Share the error
None
We received the error !!!
Demo
Google search
Understand
Reproduce
Solve
Create new tests Error handling
Errors
Conclusion Errors are hard Tooling Different browsers Different types As
important as backend logging
https://github.com/cheeaun/javascript-error-logging
Thank You @reibo_bo @bo.vandersteene https://stackblitz.com/edit/where-is-my-error-gone