jrconlin/pushgo

most errors are now 'An unexpected error occurred'

Closed this issue · 4 comments

is this intended? My api tests are all returning 'An unexpected error occurred' rather than more granular detail:

Missing required fields for command
An Invalid value was specified

This is partly due to the move to heka for data logging, and a "feature" of go's error return mechanism. The returned result message is stripped down in order to limit the amount of data that could used to probe the system for attack. The server log should contain more information about the actual issue at hand.

I will verify that the log messages are returning more useful info.

I'm fine with more generic responses, let me know if it's finalized so I can update my test cases

Updating them now. will send a review request.

this is fixed