Jelajahi Sumber

update for FB

jam411 3 tahun lalu
induk
melakukan
e5ad92e50c
1 mengubah file dengan 0 tambahan dan 3 penghapusan
  1. 0 3
      packages/app/src/server/service/plugin.ts

+ 0 - 3
packages/app/src/server/service/plugin.ts

@@ -61,7 +61,6 @@ export class PluginService implements IPluginService {
           const ghPathname = ghUrl.pathname;
           // TODO: Branch names can be specified.
           const ghBranch = 'main';
-
           const match = ghPathname.match(githubReposIdPattern);
           if (ghUrl.hostname !== 'github.com' || match == null) {
             throw new Error('The GitHub Repository URL is invalid.');
@@ -79,7 +78,6 @@ export class PluginService implements IPluginService {
     }
     catch (err) {
       logger.error(err);
-      throw new Error(err);
     }
   }
 
@@ -181,7 +179,6 @@ export class PluginService implements IPluginService {
     }
     catch (err) {
       logger.error(err);
-      throw new Error(err);
     }
 
     return;