better error message when server returns an error
authorAlex Heneveld <alex.heneveld@cloudsoftcorp.com>
Mon, 24 Apr 2017 13:38:36 +0000 (14:38 +0100)
committerAlex Heneveld <alex.heneveld@cloudsoftcorp.com>
Mon, 24 Apr 2017 14:13:30 +0000 (15:13 +0100)
commit2094e8295edbb4c8791dece188db44c3417a533a
treece8d72894ed26d2b256ecd0a6b4f9e2b81345936
parent8f178805661b93dd2fb28f3ac91e7c575f1427b9
better error message when server returns an error

we need better error handling; this solves the thing I was wondering, which is where
was the exception coming from.
cli/error_handler/error.go