added comment for error case

Hey jeev, can you take a look and merge if this looks good