Perhaps this for errors?
Also, this seems to work well using the native webviewer, what is the need for CustomWebview? (although nothing wrong with using it )