put level into error message