Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Basic error handling for Ext JS apps

  1. #11
    Sencha User
    Join Date
    Dec 2014
    Location
    New York
    Posts
    2

    Default

    I could not get it. What's the purpose of Image.src() in this? Is there an alternative to it?

  2. #12
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,153

    Default

    @dmurat: Not yet, we're not recording 'perfect' tests yet - only coordinate clicks which could be a bit fragile. To properly record 'real' Siesta tests we'd need to put a decent chunk of Siesta code into our applications, which may not be ideal for production servers. But maybe for staging/debugging servers. Will think about this a bit

  3. #13
    Ext JS Premium Member
    Join Date
    Sep 2009
    Location
    Cypress, Kalifornia
    Posts
    304

    Default questions on restricting nbr errors

    Hi Mankz,

    I've taken your code an implemented it for our production environment with very little enhancements. I was curious why you had a check for a number of errors limit. Is it to prevent the frustrated user from repeatedly doing the same thing over and over and filling-up the logs? Or is there a more subtle reason? Thanks.

    -Doug

  4. #14
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,153

    Default

    No, that's the reason. I'm only interested in the first error, since errors after that might simply be a side effect of the first one. But, you could log all you want

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •