Error Trapping

Archived support forum for customers who once purchased a PrimalForms product license. This forum is locked.
This topic is 14 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
coreyhynes
Posts: 9
Last visit: Thu Nov 14, 2013 9:37 am

Error Trapping

Post by coreyhynes »

Greetings,

Is there an easy way to trap *all* errors globally. I would like to put something in my application that dumps all powershell generated errors (syntax or whaterver) into a text file, as opposed to popping up useless text boxes the use has to click OK on, and replace them with a generic error message.

Thanks.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Error Trapping

Post by davidc »

Refer to the following post:

www.sapien.com/forums/viewtopic.php?f=13&t=1280

You can use the same variable mentioned in the post to output the text.

If you create the package with the latest version of PrimalForms (v1.1.3) you will no longer get message pop-ups.




David
Last edited by J A Reif on Fri May 10, 2013 4:25 pm, edited 1 time in total.
Reason: updated url
This topic is 14 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.