jam411 3 лет назад
Родитель
Сommit
e5ad92e50c
1 измененных файлов с 0 добавлено и 3 удалено
  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;
           const ghPathname = ghUrl.pathname;
           // TODO: Branch names can be specified.
           // TODO: Branch names can be specified.
           const ghBranch = 'main';
           const ghBranch = 'main';
-
           const match = ghPathname.match(githubReposIdPattern);
           const match = ghPathname.match(githubReposIdPattern);
           if (ghUrl.hostname !== 'github.com' || match == null) {
           if (ghUrl.hostname !== 'github.com' || match == null) {
             throw new Error('The GitHub Repository URL is invalid.');
             throw new Error('The GitHub Repository URL is invalid.');
@@ -79,7 +78,6 @@ export class PluginService implements IPluginService {
     }
     }
     catch (err) {
     catch (err) {
       logger.error(err);
       logger.error(err);
-      throw new Error(err);
     }
     }
   }
   }
 
 
@@ -181,7 +179,6 @@ export class PluginService implements IPluginService {
     }
     }
     catch (err) {
     catch (err) {
       logger.error(err);
       logger.error(err);
-      throw new Error(err);
     }
     }
 
 
     return;
     return;