Action::factory: Don't crash on missing Action classes
authorRoan Kattouw <roan.kattouw@gmail.com>
Thu, 17 Mar 2016 00:39:54 +0000 (17:39 -0700)
committerRoan Kattouw <roan.kattouw@gmail.com>
Thu, 17 Mar 2016 00:39:54 +0000 (17:39 -0700)
commit9680bf8c8249e030320b2d0735d29b5f17e34de9
tree28de9c2e5eeacd97f1202a43727db28bf256f9e1
parentda0b4741984825903748e99980d5b86478cd933d
Action::factory: Don't crash on missing Action classes

Show the "no such action" error message instead.

Normally I wouldn't favor putting this in here, but it's way
too easy to register a missing class by accident, see my rant
on T107921#2128080.

Bug: T107921
Change-Id: I56da8a5810cae3547a0c8f2d3f435dfd790fbeaf
includes/actions/Action.php