Skip to content

Commit 7187d1d

Browse files
committed
revise error text when no customizationID for STT is found
1 parent bae0588 commit 7187d1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/Services/TextToSpeech/TextToSpeech.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ private void OnDeleteCustomizationResp(RESTConnector.Request req, RESTConnector.
660660
if (callback == null)
661661
throw new ArgumentNullException("callback");
662662
if (string.IsNullOrEmpty(customizationID))
663-
throw new ArgumentNullException("A name is customizationID to get a custom voice model.");
663+
throw new ArgumentNullException("A customizationID to get a custom voice model.");
664664

665665
GetCustomizationRequest req = new GetCustomizationRequest();
666666
req.Callback = callback;

0 commit comments

Comments
 (0)