imporove schema error logging