[
https://issues.apache.org/jira/browse/BEAM-13177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Artur Khanin updated BEAM-13177:
--------------------------------
Labels: beam-playground-backend beam-playground-sprint-3
beam-playground-sprint-4 (was: beam-playground-backend
beam-playground-sprint-3)
> [Playground] Change using of MustParse with Parse for all API methods
> ---------------------------------------------------------------------
>
> Key: BEAM-13177
> URL: https://issues.apache.org/jira/browse/BEAM-13177
> Project: Beam
> Issue Type: Bug
> Components: beam-playground
> Reporter: Aydar Zaynutdinov
> Assignee: Aydar Zaynutdinov
> Priority: P3
> Labels: beam-playground-backend, beam-playground-sprint-3,
> beam-playground-sprint-4
>
> Now API methods use uuid.MustParse() to get uuid from request parameters. If
> parameters don't match the correct uuid this method will throw panic.
> Need to use uuid.Parse() instead of uuid.MustParse() to prevent this case. In
> case uuid.Parse() returns error return errors.InvalidArgumentError.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)