Change logger from error to exception