spring-io / pivotal-cla

Apache License 2.0
10 stars 16 forks source link

Adjust error handling for wrong input #139

Open mp911de opened 8 years ago

mp911de commented 8 years ago

Errors in several places (Github API, manual sync) are not leading to useful errors.

Throwing IllegalArgumentException (precondition checks) leads to

Internal Server Error
 Error: Sorry about that...the page you requested produced an error.

We should revise error handling to use a simple way to throw and handle exceptions to tell the user what's going on.