Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
despadam committed Aug 7, 2024
1 parent 340612e commit 74f573a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/jobs/jobs.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,8 @@ export class JobsController {
throw new HttpException(
{
status: HttpStatus.BAD_REQUEST,
message: `Invalid job input. Action ${action.getActionType()} unable to perform ${
jobInstance.type
} job ${action.getActionType()} action due to ${err}`,
message: `Invalid job input. Job '${jobInstance.type}' unable to perfom
action '${action.getActionType()}' due to ${err}`,
},
HttpStatus.BAD_REQUEST,
);
Expand Down

0 comments on commit 74f573a

Please sign in to comment.