catch exception when trigger type is invalid or null;
workshop docs