leave better trace of error in app local logs