Added better error handling to Derpy