diff --git a/pkg/services/move/move_router.go b/pkg/services/move/move_router.go index ece47044b49..24b31450935 100644 --- a/pkg/services/move/move_router.go +++ b/pkg/services/move/move_router.go @@ -214,7 +214,7 @@ func (router moveRouter) sendToServiceCounselor(appCtx appcontext.AppContext, mo move.MTOShipments[i].Status = models.MTOShipmentStatusSubmitted if verrs, err := appCtx.DB().ValidateAndUpdate(&move.MTOShipments[i]); verrs.HasAny() || err != nil { - msg := "failure saving parent MTO shipment object for boat shipment when routing move submission" + msg := "failure saving parent MTO shipment object for boat/mobile home shipment when routing move submission" appCtx.Logger().Error(msg, zap.Error(err)) return apperror.NewInvalidInputError(move.MTOShipments[i].ID, err, verrs, msg) } diff --git a/pkg/services/move/move_router_test.go b/pkg/services/move/move_router_test.go index f897d239329..29d2e0d2e51 100644 --- a/pkg/services/move/move_router_test.go +++ b/pkg/services/move/move_router_test.go @@ -514,7 +514,7 @@ func (suite *MoveServiceSuite) TestMoveSubmission() { sitDaysAllowance := -1 // Invalid value that should cause a validation error on MTOShipment - expError := "failure saving parent MTO shipment object for mobile home shipment when routing move submission" + expError := "failure saving parent MTO shipment object for boat/mobile home shipment when routing move submission" move := factory.BuildMove(suite.DB(), []factory.Customization{ { @@ -566,7 +566,7 @@ func (suite *MoveServiceSuite) TestMoveSubmission() { sitDaysAllowance := -1 // Invalid value that should cause a validation error on MTOShipment - expError := "failure saving parent MTO shipment object for boat shipment when routing move submission" + expError := "failure saving parent MTO shipment object for boat/mobile home shipment when routing move submission" move := factory.BuildMove(suite.DB(), []factory.Customization{ {