improved internal error with logger ID