• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What Does Error Return ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What Does Error Return ?


  • Subject: Re: What Does Error Return ?
  • From: Yvan KOENIG <email@hidden>
  • Date: Fri, 13 Mar 2015 19:45:30 +0100


Le 13/03/2015 à 19:33, Luther Fuller <email@hidden> a écrit :

On Mar 13, 2015, at 1:15 PM, Stockly, Ed wrote:

Yes, I see what you are doing here, but think of the cost.
EVERY call to a handler would have to be called from within a try block
that appends the handler name to the error message. This would make
the script almost unreadable.

I don't see what you're saying here. The only calls to handlers that would have to be in try blocks are the ones you want to track the source of the error. 

In an earlier post, I said ...

This would be extremely useful to know this when an error occurs.
When a user reports a bug to me, I get the error number and message text,
but I have to tediously inquire about what was being done when the error
occurred so that I can identify where it occurred.

I am trying to identify errors encountered by USERS of a completed product.
I am not debugging a product in development.
Users can encounter errors in the strangest places.
And I would like to know the handler which is the source of the error
without having to guess from a bug report.
(That's why this information would be worth its weight in gold,)

We are all wishing this or that enhancement but we have to live with what is available at this time.

This means that there is no build-in way to get the name of the handler in which a problem stroke.

You were offered a scheme doing the trick.
Now it's your choice : apply it or continue to be forced to play the sooth sayer to learn were something failed.

Yvan KOENIG (VALLAURIS, France) vendredi 13 mars 2015 19:45:25



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >What Does Error Return ? (From: Luther Fuller <email@hidden>)
 >Re: What Does Error Return ? (From: Luther Fuller <email@hidden>)
 >Re: What Does Error Return ? (From: Christopher Stone <email@hidden>)
 >Re: What Does Error Return ? (From: "Stockly, Ed" <email@hidden>)
 >Re: What Does Error Return ? (From: Luther Fuller <email@hidden>)
 >Re: What Does Error Return ? (From: "Stockly, Ed" <email@hidden>)
 >Re: What Does Error Return ? (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: What Does Error Return ?
  • Next by Date: Re: What Does Error Return ?
  • Previous by thread: Re: What Does Error Return ?
  • Next by thread: Re: What Does Error Return ?
  • Index(es):
    • Date
    • Thread