[arquillian-issues] [JBoss JIRA] (ARQGRA-238) Catch client-side errors

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Sat Apr 6 08:26:41 EDT 2013


    [ https://issues.jboss.org/browse/ARQGRA-238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765393#comment-12765393 ] 

Lukáš Fryč commented on ARQGRA-238:
-----------------------------------

We can catch the errors with {{window.onerror}}:

http://stackoverflow.com/questions/2384666/global-javascript-exception-handler-in-chrome

but the script needs to be installed on the page load.

We need to try what kind of errors {{window.onerror}} catches (including networking issues, etc.), and ensure cross-browser compatibility.
                
> Catch client-side errors
> ------------------------
>
>                 Key: ARQGRA-238
>                 URL: https://issues.jboss.org/browse/ARQGRA-238
>             Project: Arquillian Graphene
>          Issue Type: Feature Request
>    Affects Versions: 2.0.0.Alpha2
>            Reporter: Lukáš Fryč
>             Fix For: 2.0-Tracking
>
>
> Graphene should allow to inspect errors on client-side.
> E.g. console.log output.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list