split error message in user for display and details for log and show message to user