now logging important exceptions