public static FigmaBundle FromDirectoryPath(string fullPath) { try { var bundle = new FigmaBundle(); bundle.Load(fullPath); return(bundle); } catch (Exception ex) { Console.WriteLine(ex); //not a bundle return(null); } }
public static FigmaBundle FromDirectoryPath(string fullPath) { try { var bundle = new FigmaBundle(); bundle.Load(fullPath); return(bundle); } catch (Exception ex) { LoggingService.LogError("[FIGMA] Error", ex); //not a bundle return(null); } }