Added server exception logging