minor bugfix: handled a previously uncaught error condition
This commit is contained in:
parent
36b266be89
commit
d668abe2c1
1 changed files with 5 additions and 1 deletions
|
@ -799,6 +799,10 @@ GLiveSupport :: acquirePlayable(Ptr<const UniqueId>::Ref id)
|
||||||
|
|
||||||
} else if (existsAudioClip(id)) {
|
} else if (existsAudioClip(id)) {
|
||||||
playable = acquireAudioClip(id);
|
playable = acquireAudioClip(id);
|
||||||
|
|
||||||
|
} else {
|
||||||
|
throw XmlRpcInvalidArgumentException(
|
||||||
|
"invalid ID in GLiveSupport::acquirePlayable");
|
||||||
}
|
}
|
||||||
|
|
||||||
return playable;
|
return playable;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue