try/except when calling plugin