Added proper error messages on the server

References rapidftr/tracker#30