added todo
This commit is contained in:
parent
b372c9ae50
commit
3a60d729fd
1 changed files with 1 additions and 0 deletions
|
@ -1197,6 +1197,7 @@ SQL;
|
||||||
} catch (Services_Soundcloud_Invalid_Http_Response_Code_Exception $e) {
|
} catch (Services_Soundcloud_Invalid_Http_Response_Code_Exception $e) {
|
||||||
$code = $e->getHttpCode();
|
$code = $e->getHttpCode();
|
||||||
$msg = $e->getHttpBody();
|
$msg = $e->getHttpBody();
|
||||||
|
// TODO : Do not parse JSON by hand
|
||||||
$temp = explode('"error":',$msg);
|
$temp = explode('"error":',$msg);
|
||||||
$msg = trim($temp[1], '"}');
|
$msg = trim($temp[1], '"}');
|
||||||
$this->setSoundCloudErrorCode($code);
|
$this->setSoundCloudErrorCode($code);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue