Issue #2377 has been updated by Brice Figureau.

Brice Figureau wrote:
> Luke Kanies wrote:
> > I made a small change in the REST error handling.  Does that help?
> 
> Yes, that's a good start.

Something I thought about, but don't know if it's possible.
When we raise this error in the client, is it possible to replace the 
stacktrace by one we'd have from the server? 
This way we'd display a meaningful stacktrace on the client (more meaningful 
than something ending in P::I::Rest#deserialize).
----------------------------------------
Feature #2377: Add a message in the client error handler if the error comes 
from the master
http://projects.reductivelabs.com/issues/2377

Author: Brice Figureau
Status: Ready for Testing
Priority: Normal
Assigned to: Brice Figureau
Category: plumbing
Target version: 0.25.0
Complexity: Trivial
Affected version: 0.24.8
Keywords: 


The idea is to reduce the number of round-trip in tickets and inform the user 
that the error originated in the master and not in the client.

Something along the line of:
 
 here the original error messge
 This error has occurred on the puppetmaster. If you want to get more useful 
information, 
 please have a look in your puppetmaster logs.
 Running your puppetmaster with --trace will help the developer locate and fix 
the issue.
  


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to