Add better error for development enviroment