Log the exception because debugging is really annoying without it