added log on exception controller