iocore: route exceptions to the log