http_interface: log exceptions