Add better errors for dev