Now log can recognize error