Explorar el Código

refactor error sentence

yuken hace 4 años
padre
commit
7259b50154
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/app/src/server/service/page.ts

+ 1 - 1
packages/app/src/server/service/page.ts

@@ -2258,7 +2258,7 @@ class PageService {
 
     if (pages == null || pages.length === 0) {
       logger.error('pageIds is null or 0 length.');
-      throw Error('The number of pageIds is 0');
+      throw Error('pageIds is null or 0 length.');
     }
 
     if (pages.length > LIMIT_FOR_MULTIPLE_PAGE_OP) {