Developer forum

Forum » Development » How to know why a product has not been saved?

How to know why a product has not been saved?

Morten Bengtson
Reply
If you save a product using the API and something goes wrong, you don't get any information about the reason it failed.
There is no exception, because it is caught in a try/catch...and you don't do anything about it. Could you at least log the exception?

/Morten

Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply

Hi Morten

http://developer.dynamicweb-cms.com/forum/development/create-product-programatically.aspx

Second to last post.

- Jeppe

 

You must be logged in to post in the forum