GitHub user laysakura opened a pull request:

    https://github.com/apache/thrift/pull/1252

    [Ruby] makes exception message more verbose on 
ApplicationException::INTERNAL_ERROR

    ## Problem
    `ApplicationException::INTERNAL_ERROR` often raised, mainly because of 
incompatibility between Thrift interface and payload (mistakenly using 
incorrect Thrift types, breaking changes on Thrift interfaces, ...).
    
    But `ApplicationException::INTERNAL_ERROR` does not provide enough 
information on what's wrong.
    
    ## Solution
    Dumps `e.message` and `e.backtrace` .

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/laysakura/thrift 
rb-verbose-error-message-on-INTERNAL_ERROR

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/1252.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1252
    
----
commit 6c79c90cceea8677a59c37873ab94ef568e75b3b
Author: Sho Nakatani <lay.sak...@gmail.com>
Date:   2017-04-14T14:08:37Z

    [Ruby] makes exception message more verbose on 
ApplicationException::INTERNAL_ERROR

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to