better error handling for dirtable