exception handling in seeds