فهرست منبع

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({