add some basic content on warn and error