Catch & log invalid URI errors