make sure to catch exceptions on plugin load

@lennartcl