nwp/book-order — pull request #2 by dsokolowski (2011-12-23 15:23:28+00:00)
Title: Send error notification to user

When story is not created then Book Order sends two notifications, one to email sender and one to the bug recipient (defined in BUG_NOTIFICATION_TO). Notification that is sent to user contains informations that story is not created and why, information to the bug recipient contains informations about who sent the email, email body, subject, PT response status and body.

You can enable/disable sending notifications to the user by setting env var ERROR_NOTIFICATION_TO_SENDER.

I also added ability to change default PT error messages (details in readme file).