You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Aydar Zaynutdinov (Jira)" <ji...@apache.org> on 2021/11/03 13:20:00 UTC

[jira] [Created] (BEAM-13177) [Playground] Change using of MustParse with Parse for all API methods

Aydar Zaynutdinov created BEAM-13177:
----------------------------------------

             Summary: [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


Now API methods use MustParse() to get uuid from request parameters. If parameters don't match the correct uuid this method will throw panic. Need to use Parse() instead of MustParse() to prevent this case. In case Parse() returns error return errors.InvalidArgumentError.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)