Wrap graphite plugin in try: except: