Make notebook log errors on startup