log server exceptions