added todo

This commit is contained in:
Rudi Grinberg 2012-09-18 15:02:07 -04:00
parent b372c9ae50
commit 3a60d729fd
1 changed files with 1 additions and 0 deletions

View File

@ -1197,6 +1197,7 @@ SQL;
} catch (Services_Soundcloud_Invalid_Http_Response_Code_Exception $e) {
$code = $e->getHttpCode();
$msg = $e->getHttpBody();
// TODO : Do not parse JSON by hand
$temp = explode('"error":',$msg);
$msg = trim($temp[1], '"}');
$this->setSoundCloudErrorCode($code);