Adding debug info for debugging pool error.