slloyd
19th December 2007 01:54 UTC
How to capture error messages?
Is there a way to capture the error messages on a CopyFiles?
I can capture that an error occured but I do not know why.
This is especially true if CopyFiles is pointing to a directory with many files. The details says Copy Failed but it would be nice to know why.
Thanks
kichik
19th December 2007 19:03 UTC
There is none. You can manually try to figure it out. For examples, you can check with IfFileExists if the destination directory exists.
slloyd
19th December 2007 19:09 UTC
How about other errors?
I can use ClearErrors and IfErrors but is there a way to capture the error number? The nullsoft error handling needs to be beefed up, don't you think?
Steve
kichik
19th December 2007 19:12 UTC
I don't. But I'd be happy to see a healthy discussion on the topic.
slloyd
19th December 2007 19:17 UTC
Me too. I will post a new topic called "Nullsoft error handling"