Improve panic msg for not registering render middleware