Fixed an import
Catching exceptions in plugin validator