fix example function onUncaughtError
Merge pull request #34 from omnidan/patch-1

fix example function onUncaughtError