added some error handling on dev monitor