expose main exception in dev (close #1)