log error with trace