Better exception logging and small pypo exception fix
This commit is contained in:
parent
016c89ea96
commit
0b1af01822
2 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ class CcFiles extends BaseCcFiles {
|
|||
{
|
||||
$music_dir = Application_Model_MusicDir::getDirByPK($this->getDbDirectory());
|
||||
if (!$music_dir) {
|
||||
throw new Exception("Invalid music_dir for file in database.");
|
||||
throw new Exception("Invalid music_dir for file " . $this->getDbId() . " in database.");
|
||||
}
|
||||
$directory = $music_dir->getDirectory();
|
||||
$filepath = $this->getDbFilepath();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue