Added much needed error logging