if (!obj.action) throw "Need to include `action` property or shortcut property in the step config"
if (!obj.action) throw "Need to include `action` property or shortcut property in the step config: " + Ext.Object.getKeys(obj)
Or something to that extent, it makes it easier to find what I've typo'd.
Thanks