|
|
|
|
|
by josephcsible
1862 days ago
|
|
> Should every line of code get wrapped in try/catch? Everything Google Analytics does is expendable, so the block of code that deals with it should be wrapped in try/catch. > There's a big difference between "resilient against a missing dependency" and "being resilient in the face of getting literally any object instead of the dependency you expected to get." If Google pushes a breaking change to the Google Analytics API tomorrow, that shouldn't break checkout either. |
|