ref #24 improve error message
Merge pull request #25 from adjust/improve_error_message

ref #24 improve error message