- fixed a syntax error

 - logging server errors