ソースを参照

include growi url into a err message

kaori 5 年 前
コミット
a465a77869
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/slackbot-proxy/src/services/RegisterService.ts

+ 1 - 1
packages/slackbot-proxy/src/services/RegisterService.ts

@@ -76,7 +76,7 @@ export class RegisterService implements GrowiCommandProcessor {
         ],
       });
 
-      throw new InvalidUrlError('Invalid URL', error);
+      throw new InvalidUrlError(`'${growiUrl}' is an invalid URL`, error);
     }
 
     orderRepository.save({