Closed ramonmulia closed 2 years ago
When serialize throws an error onEmit wasn't being called. Putting try catch when add function is called we can call onError when it throws exception.
serialize
try catch
add
onError
Closes #16
When
serialize
throws an error onEmit wasn't being called. Puttingtry catch
whenadd
function is called we can callonError
when it throws exception.Closes #16