diff --git a/src/controllers/KpiUserEvaluationController.ts b/src/controllers/KpiUserEvaluationController.ts index 4e09d40..864096c 100644 --- a/src/controllers/KpiUserEvaluationController.ts +++ b/src/controllers/KpiUserEvaluationController.ts @@ -464,8 +464,8 @@ export class KpiUserEvaluationController extends Controller { level: levelForGourp, weight: 100, }) - .catch((x) => { - throw new HttpError(HttpStatusCode.NOT_FOUND, x); + .catch((error) => { + throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่สามารถสร้างข้อมูลสมรรถนะได้"); }); } }