change exception log to warning